You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some manifests contain multiline strings, like json/yaml embedded files in a configmap or whatever. When outputting from the cluster -o yaml, the multiline values are (usually, this might depend on their creator) using multiline yaml value, an example in a pgo-config configmap:
Importing that yaml into terraform through tfk8s,the manifests seem okay but all the multiline values are "...\n...\n...\n"
This is working fine AFAICS, but for editabitility of the generated .tf, that'd be nice to use the multiline facilities in hcl, like the heredocs:
Thanks for opening this @rienafairefr – we are using Terraform's repl package to do the formatting to HCL and it looks they recently added support for this so we should be able to bring this in.
I had a quick look and there's some additional munging we will have to do because the interface has changed to use cty.Value rather than map[string]interface{}.
Not really a bug, more like a feature request
Some manifests contain multiline strings, like json/yaml embedded files in a configmap or whatever. When outputting from the cluster
-o yaml
, the multiline values are (usually, this might depend on their creator) using multiline yaml value, an example in a pgo-config configmap:Importing that yaml into terraform through tfk8s,the manifests seem okay but all the multiline values are
"...\n...\n...\n"
This is working fine AFAICS, but for editabitility of the generated .tf, that'd be nice to use the multiline facilities in hcl, like the heredocs:
The text was updated successfully, but these errors were encountered: