cluster.fun/terraform/provider.tf

26 lines
835 B
Terraform
Raw Normal View History

2020-04-25 19:03:46 +00:00
provider "scaleway" {
2020-05-02 20:46:36 +00:00
zone = "fr-par-1"
region = "fr-par"
2020-05-02 10:11:41 +00:00
organization_id = "5c1e5e2a-a6cd-4eb3-907f-2a83a29668fc"
2020-04-25 19:03:46 +00:00
}
2021-02-10 10:26:47 +00:00
provider "helm" {
kubernetes {
load_config_file = false
host = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].host
token = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].token
cluster_ca_certificate = base64decode(
scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].cluster_ca_certificate
)
}
}
provider "kubectl" {
load_config_file = false
host = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].host
token = scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].token
cluster_ca_certificate = base64decode(
scaleway_k8s_cluster_beta.k8s-cluster.kubeconfig[0].cluster_ca_certificate
)
}