-
Notifications
You must be signed in to change notification settings - Fork 0
/
infra.tf
36 lines (28 loc) · 1014 Bytes
/
infra.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
module "infra" {
source = "./modules/node-group"
cluster_id = var.cluster_id
cluster_domain = local.cluster_domain
role = "infra"
node_count = var.infra_count
region = var.region
template_id = data.exoscale_template.rhcos.id
base_domain = var.base_domain
instance_type = var.infra_type
node_state = var.infra_state
ssh_key_pair = local.ssh_key_name
root_disk_size = var.root_disk_size
data_disk_size = var.infra_data_disk_size
use_privnet = var.use_privnet
privnet_id = local.privnet_id
privnet_gw = local.privnet_gw
api_int = exoscale_domain_record.api_int.hostname
ignition_ca = var.ignition_ca
security_group_ids = [
exoscale_security_group.all_machines.id,
exoscale_security_group.infra.id,
]
affinity_group_capacity = var.affinity_group_capacity
additional_affinity_group_ids = var.additional_affinity_group_ids
deploy_target_id = var.deploy_target_id
bootstrap_bucket = var.bootstrap_bucket
}