Eduardo Garibay-Frausto

Results 2 comments of Eduardo Garibay-Frausto

@simonebenati You need to load the file with `kubectl_file_documents` and use the `for_each` in the `kubectl_manifest` resource as per the documentation here https://registry.terraform.io/providers/gavinbunney/kubectl/latest/docs/data-sources/kubectl_file_documents#example-usage-with-for_each I haven't tested this, however, I'm assuming...

I was having a similar issue. What worked for me was to use `for_each` with `data "kubectl_file_documents"` in the `resource "kubectl_manifest"`. Taking your example @nbwest , I was able to...