Re:IBM Completes Acquisition of HashiCorp
by nunez on Friday February 28, 2025 @11:28PM
(#43215897)
I agree with you (this is something that OpenTofu is trying to fix), but the way I do k8s provisioning in Terraform is to have one module that brings up a cluster, another to print the cluster's Kubeconfig, then, finally, another to use the Kubeconfig to provision Kubernetes resources. It's not perfect but it gets the job done most of the time.
[ Parent
| on HN ]
Re:IBM Completes Acquisition of HashiCorp
by JohnMakin on Saturday March 01, 2025 @06:44AM
(#43218345)
this is best practice. I couldnt imagine doing it any other way and would flatly refuse.
There are shortcomings in the kubernetes provider as well that make wanting to maintain that in one state file a nonstarter for me.