#terragrunt (2022-02)

terragrunt

Terragrunt discussions

Archive: https://archive.sweetops.com/terragrunt/

2022-02-01

2022-02-24

Mr.Devops avatar
Mr.Devops

Hi we’re using the kubernetes provider here and I’m wondering how others are using this when they have multiply clusters/contexts being used? thx!

something simple as below would only allow a single context to be access, what if i have multiply contexts?

provider "kubernetes" {
  config_paths    = [
                    "~/.kube/config",
                    "~/.kube_another_path/config"
                    ]
  config_context = "cluster01
}
Thomas W. avatar
Thomas W.

On my multi env projects, the kubernetes provider is configured with host, token and certificate.

    keyboard_arrow_up