We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd979d4 commit fd7a25bCopy full SHA for fd7a25b
examples/with-ecs-scheduling/main.tf
@@ -63,8 +63,8 @@ module "eventbridge" {
63
64
network_configuration = {
65
assign_public_ip = true
66
- subnets = data.aws_subnet_ids.default
67
- security_groups = data.aws_security_group.default
+ subnets = data.aws_subnet_ids.default.ids
+ security_groups = [data.aws_security_group.default.arn]
68
}
69
70
@@ -89,7 +89,6 @@ resource "aws_ecs_service" "hello_world" {
89
name = "hello_world-${random_pet.this.id}"
90
cluster = module.ecs.ecs_cluster_id
91
task_definition = aws_ecs_task_definition.hello_world.arn
92
- launch_type = "FARGATE"
93
94
desired_count = 1
95
0 commit comments