Open DevopsMercenary opened 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
for_each
manifests
resource "kubectl_manifest" "test" { for_each = toset(data.kubectl_path_documents.docs.manifests) yaml_body = each.value }
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 bemanifests
resource "kubectl_manifest" "test" { for_each = toset(data.kubectl_path_documents.docs.manifests) yaml_body = each.value }