-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
28 lines (26 loc) · 834 Bytes
/
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
module "network" {
source = "./network"
namespace = var.namespace
}
module "security" {
source = "./security"
namespace = var.namespace
vpc_id = module.network.vpc_id
}
module "compute" {
source = "./compute"
namespace = var.namespace
key_pair_name = var.key_pair_name
pub_a_id = module.network.pub_a_id
pub_b_id = module.network.pub_a_id
pub_c_id = module.network.pub_a_id
priv_a_id = module.network.priv_a_id
priv_b_id = module.network.priv_b_id
priv_c_id = module.network.priv_c_id
bastion_sg_a = module.security.bastion_sg_a
bastion_sg_b = module.security.bastion_sg_a
bastion_sg_c = module.security.bastion_sg_a
app_sg_a = module.security.app_sg_a
app_sg_b = module.security.app_sg_b
app_sg_c = module.security.app_sg_c
}