-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
34 lines (28 loc) · 766 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
29
30
31
32
33
34
# ./main.tf
# Networking module for VPC and subnet configuration
module "networking" {
source = "./modules/networking"
project_name = "ar-sre-kata"
tags = {
Owner = "AR"
}
}
# Container service module for ECS and related resources
module "container_service" {
source = "./modules/container_service"
project_name = "ar-sre-kata"
vpc_id = module.networking.vpc_id
public_subnet_ids = module.networking.public_subnet_ids
private_subnet_ids = module.networking.private_subnet_ids
redis_subnet_id = module.networking.redis_subnet_id
tags = {
Owner = "AR"
}
}
# Serverless module for Lambda functions and related resources
module "serverless" {
source = "./modules/serverless"
tags = {
Owner = "AR"
}
}