-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List Type Not Supported #19
Comments
Of note, if I do |
This is an interesting one, I'm not sure if there is a way to support the I'd be interested if you wanted to dive into the code more and see if there is some way to work around this issue but fair warning I think it may be hard. |
Oh, I thought I had mentioned this in my original report, but this could go hand-in-hand with supporting multiple files. (E.g. using the If multiple-files were implemented somehow (perhaps an array index like the I'm mostly spitballing here to see if these are crazy ideas. (BTW, for future googlers out there, my immediate solution was to break the list into individual files, then generate the HCL's referencing those files.) |
Agreed, if there is some funky way to handle multi-resource files with The concern I have around handling multi-resource files is that the Terraform provider does Second splitting things out being the best way forward - I'll add an |
I don't think k8s has a concept of a My guess is the only way to make something like this reasonably work is to either blindly create/apply the yaml document without any tf side resource tracking or for the provider to parse the The "blind" option would be a convenient way to support slurping in existing yaml files with multiple resources, as that is often a format provided for example deployments. |
Terraform Version
Terraform v0.11.13
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Should create a secret.
Actual Behavior
Got this error:
Steps to Reproduce
References
kind
but it's not be detected correctly byterraform-provider-kubernetes-yaml/kubernetes/resource_kubernetes_yaml.go
Lines 275 to 278 in 2699cc2
The text was updated successfully, but these errors were encountered: