-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.tf
36 lines (30 loc) · 1.43 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
30
31
32
33
34
35
36
##############################################################################
# IBM Cloud Provider
##############################################################################
provider "ibm" {
# ibmcloud_api_key = var.ibmcloud_api_key # comment out and remove variable for schematics runs
region = var.region
ibmcloud_timeout = 60
}
##############################################################################
##############################################################################
# VPC Module
##############################################################################
module "ez_vpc" {
source = "./ez_vpc_cluster"
prefix = var.prefix
region = var.region
resource_group = var.resource_group
tags = var.tags
roks_cluster_version = var.roks_cluster_version
machine_type = var.machine_type
workers_per_zone = var.workers_per_zone
create_new_cos_instance = var.create_new_cos_instance
object_storage_name = var.object_storage_name
object_storage_plan = var.object_storage_plan
use_public_gateways = var.use_public_gateways
allow_inbound_traffic = var.allow_inbound_traffic
classic_access = var.classic_access
override_json = var.override ? file("${path.module}/override.json") : "{}"
}
##############################################################################