-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathmain.tf
99 lines (91 loc) · 5.17 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
##############################################################################
# IBM Cloud Provider
##############################################################################
provider "ibm" {
ibmcloud_api_key = var.ibmcloud_api_key
region = var.region
ibmcloud_timeout = 60
}
##############################################################################
##############################################################################
# Landing Zone
##############################################################################
locals {
override_json_path = abspath("./override.json")
}
module "vsi_landing_zone" {
source = "./module"
prefix = var.prefix
region = var.region
tags = var.tags
network_cidr = var.network_cidr
vpcs = var.vpcs
enable_transit_gateway = var.enable_transit_gateway
transit_gateway_global = var.transit_gateway_global
ssh_public_key = var.ssh_public_key
existing_ssh_key_name = var.existing_ssh_key_name
add_atracker_route = var.add_atracker_route
hs_crypto_instance_name = var.hs_crypto_instance_name
hs_crypto_resource_group = var.hs_crypto_resource_group
use_random_cos_suffix = var.use_random_cos_suffix
vsi_image_name = var.vsi_image_name
vsi_instance_profile = var.vsi_instance_profile
vsi_per_subnet = var.vsi_per_subnet
add_edge_vpc = var.add_edge_vpc
create_f5_network_on_management_vpc = var.create_f5_network_on_management_vpc
provision_teleport_in_f5 = var.provision_teleport_in_f5
vpn_firewall_type = var.vpn_firewall_type
f5_image_name = var.f5_image_name
f5_instance_profile = var.f5_instance_profile
hostname = var.hostname
domain = var.domain
tmos_admin_password = var.tmos_admin_password
license_type = var.license_type
byol_license_basekey = var.byol_license_basekey
license_host = var.license_host
license_username = var.license_username
license_password = var.license_password
license_pool = var.license_pool
license_sku_keyword_1 = var.license_sku_keyword_1
license_sku_keyword_2 = var.license_sku_keyword_2
license_unit_of_measure = var.license_unit_of_measure
do_declaration_url = var.do_declaration_url
as3_declaration_url = var.as3_declaration_url
ts_declaration_url = var.ts_declaration_url
phone_home_url = var.phone_home_url
template_source = var.template_source
template_version = var.template_version
app_id = var.app_id
tgactive_url = var.tgactive_url
tgstandby_url = var.tgstandby_url
tgrefresh_url = var.tgrefresh_url
enable_f5_management_fip = var.enable_f5_management_fip
enable_f5_external_fip = var.enable_f5_external_fip
teleport_management_zones = var.teleport_management_zones
use_existing_appid = var.use_existing_appid
appid_name = var.appid_name
appid_resource_group = var.appid_resource_group
teleport_instance_profile = var.teleport_instance_profile
teleport_vsi_image_name = var.teleport_vsi_image_name
teleport_license = var.teleport_license
https_cert = var.https_cert
https_key = var.https_key
teleport_hostname = var.teleport_hostname
teleport_domain = var.teleport_domain
teleport_version = var.teleport_version
message_of_the_day = var.message_of_the_day
teleport_admin_email = var.teleport_admin_email
skip_kms_block_storage_s2s_auth_policy = var.skip_kms_block_storage_s2s_auth_policy
skip_all_s2s_auth_policies = var.skip_all_s2s_auth_policies
override = var.override
override_json_string = var.override_json_string
override_json_path = local.override_json_path
existing_vpc_cbr_zone_id = var.existing_vpc_cbr_zone_id
user_data = var.user_data
use_legacy_network_interface = var.use_legacy_network_interface
}
moved {
from = module.landing_zone
to = module.vsi_landing_zone.module.landing_zone
}
##############################################################################