Skip to content

Commit

Permalink
chore: Fix MSSQL example add egress security group rule for db to dir…
Browse files Browse the repository at this point in the history
…ectory services (#415)
  • Loading branch information
magreenbaum authored Jul 6, 2022
1 parent 9299ae1 commit 89c3166
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/complete-mssql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ module "security_group" {
},
]

# egress
egress_with_source_security_group_id = [
{
from_port = 0
to_port = 0
protocol = -1
description = "Allow outbound communication to Directory Services security group"
source_security_group_id = aws_directory_service_directory.demo.security_group_id
},
]

tags = local.tags
}

Expand Down

0 comments on commit 89c3166

Please sign in to comment.