-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproviders.tf
81 lines (61 loc) · 1.26 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
terraform {
backend "local" {
path = "terraform.tfstate"
}
# backend "pg" {
# conn_str = "postgres://terraform:passwordhere@host_here/terraform_state"
# }
encryption {
method "aes_gcm" "encrypter" {
keys = key_provider.pbkdf2.default
}
state {
method = method.aes_gcm.encrypter
enforced = true
}
}
required_providers {
github = {
source = "integrations/github"
version = "~>6.0.0"
}
external = {
source = "hashicorp/external"
version = "~>2.3.3"
}
null = {
source = "hashicorp/null"
version = "~>3.2.2"
}
local = {
source = "hashicorp/local"
version = "~>2.4.1"
}
libvirt = {
source = "dmacvicar/libvirt"
version = "~>0.7.6"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~>2.33.0"
}
}
}
provider "github" {
# Using token (oauth does not have workflow permission)
token = data.external.github_token.result.TOKEN
owner = "pimvh"
# Defaults
# write_delay_ms = 1000
# read_delay_ms = 0
}
provider "libvirt" {
uri = "qemu+ssh://[email protected]"
}
provider "null" {
}
provider "external" {
}
provider "kubernetes" {
config_path = "~/.kube/config"
}