-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathproviders.tf
55 lines (47 loc) · 1.09 KB
/
providers.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.44"
}
remote = {
source = "tenstad/remote"
version = "0.1.2"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 4.3"
}
kubectl = {
source = "gavinbunney/kubectl"
version = "~> 1.14.0"
}
}
}
provider "hcloud" {
token = var.hetzner_token
}
provider "cloudflare" {
api_token = var.cloudflare_token
}
provider "helm" {
kubernetes {
host = local.cluster_host
client_certificate = local.client_cert
client_key = local.client_key
cluster_ca_certificate = local.cluster_ca
}
}
provider "kubectl" {
host = local.cluster_host
client_certificate = local.client_cert
client_key = local.client_key
cluster_ca_certificate = local.cluster_ca
load_config_file = false
}
provider "kubernetes" {
host = local.cluster_host
client_certificate = local.client_cert
client_key = local.client_key
cluster_ca_certificate = local.cluster_ca
}