File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ module "postgres_security_group" {
10
10
{
11
11
from_port = 0
12
12
to_port = 5432
13
- protocol = " -1 "
14
- cidr_blocks = " 0.0.0.0/0 "
13
+ protocol = " tcp "
14
+ cidr_blocks = data.aws_vpc.vpc.cidr_block
15
15
},
16
16
]
17
17
egress_with_cidr_blocks = [{
@@ -71,7 +71,7 @@ module "ecs_node_security_group" {
71
71
from_port = 0
72
72
to_port = 0
73
73
protocol = " -1"
74
- cidr_blocks = " 0.0.0.0/0 "
74
+ cidr_blocks = data.aws_vpc.vpc.cidr_block
75
75
}]
76
76
egress_with_cidr_blocks = [{
77
77
from_port = 0
@@ -141,7 +141,7 @@ module "ecs_task_security_group" {
141
141
from_port = 0
142
142
to_port = 0
143
143
protocol = " -1"
144
- cidr_blocks = " 0.0.0.0/0 "
144
+ cidr_blocks = data.aws_vpc.vpc.cidr_block
145
145
},
146
146
]
147
147
egress_with_cidr_blocks = [{
You can’t perform that action at this time.
0 commit comments