-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
29 lines (25 loc) · 1.03 KB
/
main.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
module "internet" {
source = "github.com/getupcloud/terraform-module-internet?ref=v1.0"
}
module "teleport-agent" {
source = "github.com/getupcloud/terraform-module-teleport-agent-config?ref=v0.3"
auth_token = var.teleport_auth_token
cluster_name = var.cluster_name
customer_name = var.customer_name
cluster_sla = var.cluster_sla
cluster_provider = var.cluster_type
cluster_region = var.region
}
module "flux" {
source = "github.com/getupcloud/terraform-module-flux?ref=v2.8.4"
git_repo = var.flux_git_repo
manifests_path = "./clusters/${var.cluster_name}/${var.cluster_type}/manifests"
wait = var.flux_wait
flux_version = var.flux_version
manifests_template_vars = local.manifests_template_vars
flux_install_file = var.flux_install_file
identity_file = var.flux_identity_file
identity_pub_file = var.flux_identity_pub_file
debug = var.dump_debug
install_on_okd = var.install_on_okd
}