Skip to content

Commit 7b65d08

Browse files
authored
Merge pull request #254 from pagopa/feature/PN-17432
PN-17432: restrict SG connection only from ALB SG
2 parents a9a9a48 + 94a9b9d commit 7b65d08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/aws/cfn/microservice.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Parameters:
5858
Type: String
5959
Description: 'The DNS name used for SELC-PG rest API'
6060

61+
AlbSecurityGroup:
62+
Type: String
63+
Description: "Application load balancer security group"
64+
6165
EcsDefaultSecurityGroup:
6266
Type: String
6367
Description: 'Default security group required by infrastructure'
@@ -570,6 +574,7 @@ Resources:
570574
ECSClusterName: !Ref ECSClusterName
571575
Subnets: !Ref VpcEgressSubnetsIds
572576
VpcId: !Ref VpcId
577+
AlbSecurityGroup: !Ref AlbSecurityGroup
573578
EcsDefaultSecurityGroup: !Ref EcsDefaultSecurityGroup
574579
LoadBalancerListenerArn: !Ref ApplicationLoadBalancerListenerArn
575580
LoadbalancerRulePriority: !Ref MicroserviceNumber

0 commit comments

Comments
 (0)