-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tf
More file actions
29 lines (27 loc) · 857 Bytes
/
Copy pathexample.tf
File metadata and controls
29 lines (27 loc) · 857 Bytes
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
module "cluster" {
source = "./modules/ecs-cluster"
aws_region = "eu-west-2"
key_name = "mbp"
}
module "l4d" {
source = "./modules/ecs-service"
aws_region = "eu-west-2"
cluster = module.cluster.cluster_name
log_group_name = module.cluster.log_group_name
security_group = module.cluster.security_group_id
game = "l4d"
port = 27016
trusted_cidr = local.home_ip
steam_group = local.steam_group
rcon_password = local.rcon_password
}
module "l4d2" {
source = "./modules/ecs-service"
aws_region = "eu-west-2"
cluster = module.cluster.cluster_name
log_group_name = module.cluster.log_group_name
security_group = module.cluster.security_group_id
trusted_cidr = local.home_ip
steam_group = local.steam_group
rcon_password = local.rcon_password
}