Closed toabi closed 3 years ago
This changes the kubeconfig output to structured data which can be used as provider configuration.
Example:
data "terraform_remote_state" "cluster_base" { backend = "…" config = { … } } locals { remote = { kubeconfig = data.terraform_remote_state.cluster_base.outputs.kubeconfig } } provider "helm" { kubernetes { host = local.remote.kubeconfig.host client_certificate = local.remote.kubeconfig.client_certificate client_key = local.remote.kubeconfig.client_key cluster_ca_certificate = local.remote.kubeconfig.cluster_ca_certificate } }
🥳
👍
I think it's time to implement rudimentary CI e.g terraform validate.
Yeah would be cool. But have 0 experience with CI on github :(
No problem, I will do it.
This changes the kubeconfig output to structured data which can be used as provider configuration.
Example:
🥳