-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprovider.tf
40 lines (32 loc) · 1.33 KB
/
provider.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
provider "azuread" {
version = "~>0.6.0"
}
provider "azurerm" {
version = "~>1.5"
}
provider "kubernetes" {
version = "~>1.8"
host = azurerm_kubernetes_cluster.k8s.kube_config[0].host
client_certificate = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.client_certificate)
client_key = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.client_key)
cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.cluster_ca_certificate)
load_config_file = false
config_path = "~/.kube/we-really-dont-want-terraform-to-read-the-local-config"
}
provider "helm" {
debug = true
version = "~> 0.10"
install_tiller = true
service_account = "tiller"
kubernetes {
host = azurerm_kubernetes_cluster.k8s.kube_config[0].host
client_certificate = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.client_certificate)
client_key = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.client_key)
cluster_ca_certificate = base64decode(azurerm_kubernetes_cluster.k8s.kube_config.0.cluster_ca_certificate)
load_config_file = false
config_path = "~/.kube/we-really-dont-want-terraform-to-read-the-local-config"
}
}
provider "random" {
version = "~> 2.2.0"
}