-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.tf
More file actions
56 lines (49 loc) · 1.8 KB
/
Copy pathmain.tf
File metadata and controls
56 lines (49 loc) · 1.8 KB
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
# ============================================================
# Root Terraform Configuration
# F5 BNK Orchestrator — deploys to an existing ROKS cluster
# Modules: cert-manager → flo → cneinstance → license
# ============================================================
terraform {
required_version = ">= 1.0"
required_providers {
ibm = {
source = "IBM-Cloud/ibm"
version = ">= 1.60.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = ">= 2.25.0"
}
}
}
# ============================================================
# Module: cneinstance
# ============================================================
module "cneinstance" {
source = "./modules/cneinstance"
providers = {
kubernetes = kubernetes
}
enabled = true
flo_namespace = var.flo_namespace
utils_namespace = var.flo_utils_namespace
cluster_issuer_name = var.flo_cluster_issuer_name
far_repo_url = var.far_repo_url
f5_bigip_k8s_manifest_version = var.f5_bigip_k8s_manifest_version
cneinstance_ibm_trusted_profile_id = var.flo_trusted_profile_id
cneinstance_gateway_api = true
cneinstance_whole_cluster = true
cneinstance_logging_subsystem = true
cneinstance_metric_subsystem = true
cneinstance_deployment_size = var.cneinstance_deployment_size
cneinstance_dynamic_routing = false
cneinstance_firewall_acl = true
cneinstance_pseudocni = true
cneinstance_env_discovery = false
cneinstance_cloud_env = true
cneinstance_cloud_provider = "ibm"
cneinstance_vpc_name = data.ibm_is_vpc.cluster_vpc.name
cneinstance_cloud_region = var.ibmcloud_cluster_region
cneinstance_gslb_datacenter_name = var.cneinstance_gslb_datacenter_name
cneinstance_network_attachments = var.cneinstance_network_attachments
}