Skip to content

Commit 123d51f

Browse files
author
Sumit Sarkar
committed
FIX: Enable outbound rules to fix registration to ECS.
1 parent 741cd44 commit 123d51f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ data "aws_iam_policy_document" "ecs_autoscale_assume_role" {
7979
resource "aws_security_group" "container_instance" {
8080
vpc_id = "${var.vpc_id}"
8181

82+
egress {
83+
from_port = 0
84+
to_port = 0
85+
protocol = "-1"
86+
cidr_blocks = [
87+
"0.0.0.0/0"]
88+
}
89+
8290
tags {
8391
Name = "sgContainerInstance"
8492
Project = "${var.project}"

0 commit comments

Comments
 (0)