gavinbunney / terraform-provider-kubectl

Terraform provider to handle raw kubernetes manifest yaml files
https://registry.terraform.io/providers/gavinbunney/kubectl
Mozilla Public License 2.0
609 stars 102 forks source link

Datasource kubectl_path_documents documentation typo #286

Open DevopsMercenary opened 5 months ago

DevopsMercenary commented 5 months ago

At the Example Usage on the documentation for kubectl_path_documents

https://registry.terraform.io/providers/gavinbunney/kubectl/latest/docs/data-sources/kubectl_path_documents

The first example, for the for_each uses documents. I'm pretty sure this should be manifests

resource "kubectl_manifest" "test" { for_each = toset(data.kubectl_path_documents.docs.manifests) yaml_body = each.value }