Settings

Theme

Managing Kubernetes resources in Terraform: Kubernetes provider

arthurkoziel.com

12 points by arthurk 2 years ago · 8 comments

Reader

moondev 2 years 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.

karmajunkie 2 years ago

the helm provider also exists and is a heck of a lot less trouble than converting yaml to hcl.

  • joombaga 2 years ago

    Yeah that's definitely the way to go if there's already a helm chart. If it's just raw manifests I'd rather convert to HCL than build a helm chart to feed into TF, but that's just because I know TF better, most of my configuration is already there, so I'd prefer to keep abstraction boundaries small. But it's nice to have the options.

    • birdiesanders 2 years ago

      It’s fairly simple to set up a basic helm chart around existent yaml specs, then progressive parameterization of that yields a nice managble object.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection