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
626 stars 107 forks source link

Datasource kubectl_path_documents documentation typo #286

Open DevopsMercenary opened 8 months ago

DevopsMercenary commented 8 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 }