Skip to content

Commit 548f519

Browse files
authored
Hotfix - Infra Security Group Incoming traffic (#1117)
1 parent 63e9377 commit 548f519

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_infra/stacks/databases_stack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def _set_db_infra(self) -> None:
5656
self,
5757
"aws-data-wrangler-database-sg",
5858
vpc=self.vpc,
59-
description="AWS Data Wrangler Test Arena - Database security group",
59+
description="AWS Data Wrangler Test Athena - Database security group",
6060
)
61-
self.db_security_group.add_ingress_rule(ec2.Peer.any_ipv4(), ec2.Port.all_traffic())
61+
self.db_security_group.add_ingress_rule(self.db_security_group, ec2.Port.all_traffic())
6262
ssm.StringParameter(
6363
self,
6464
"db-security-group-parameter",
@@ -219,7 +219,7 @@ def _setup_redshift(self) -> None:
219219
redshift.ClusterSubnetGroup(
220220
self,
221221
"aws-data-wrangler-redshift-subnet-group",
222-
description="AWS Data Wrangler Test Arena - Redshift Subnet Group",
222+
description="AWS Data Wrangler Test Athena - Redshift Subnet Group",
223223
vpc=self.vpc,
224224
vpc_subnets=ec2.SubnetSelection(subnet_type=ec2.SubnetType.PUBLIC),
225225
)

0 commit comments

Comments
 (0)