-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
50 lines (44 loc) · 934 Bytes
/
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
terraform {
required_providers {
kubectl = {
source = "gavinbunney/kubectl"
}
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
}
provider "github" {
token = var.github-token
owner = var.github-org
}
provider "kubernetes" {
alias = "dev-cluster"
host = var.dev-cluster-host
token = var.dev-cluster-token
insecure = true
}
provider "kubernetes" {
alias = "z-cluster"
host = var.z-cluster-host
token = var.z-cluster-token
insecure = true
}
provider "kubernetes" {
alias = "x86-cluster"
host = var.x86-cluster-host
token = var.x86-cluster-token
insecure = true
}
provider "kubernetes" {
alias = "power-cluster"
host = var.power-cluster-host
token = var.power-cluster-token
insecure = true
}
provider "kubectl" {
host = var.dev-cluster-host
token = var.dev-cluster-token
insecure = true
}