Skip to content

Commit 89c3166

Browse files
authored
chore: Fix MSSQL example add egress security group rule for db to directory services (#415)
1 parent 9299ae1 commit 89c3166

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

examples/complete-mssql/main.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ module "security_group" {
5151
},
5252
]
5353

54+
# egress
55+
egress_with_source_security_group_id = [
56+
{
57+
from_port = 0
58+
to_port = 0
59+
protocol = -1
60+
description = "Allow outbound communication to Directory Services security group"
61+
source_security_group_id = aws_directory_service_directory.demo.security_group_id
62+
},
63+
]
64+
5465
tags = local.tags
5566
}
5667

0 commit comments

Comments
 (0)