4 ms·
Needing to convert yaml to hcl seems like a burden. A killer feature of HCL would be if it supported syntax highlighted yaml. Or if the HCL manifest was in json
by moondev 3y ago
Needing to convert yaml to hcl seems like a burden. A killer feature of HCL would be if it supported syntax highlighted yaml. Or if the HCL manifest was in json format, it perhaps could be easily then converted to yaml as the "human readable" format, then converted to json and tf apply.
- joombaga 3y agoYou can use YAML files with kubernetes_manifest resources if you like, though you'll probably run into issues that the bespoke resources (e.g. kubernetes_deployment) handle for you.
- deleted 3y ago[deleted]
- based2 3y agohttps://github.com/sl1pm4t/k2tf https://github.com/sl1pm4t/k2tf
- badri 3y agoYou can also use https://github.com/gavinbunney/terraform-provider-kubectl https://github.com/gavinbunney/terraform-provider-kubectl.