Skip to content

Commit

Permalink
Enable execute command for Fargate services in Application stack
Browse files Browse the repository at this point in the history
  • Loading branch information
rce committed May 14, 2024
1 parent a1494ee commit 10f5a65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class Application extends Stack {
vpcSubnets: { subnetType: SubnetType.PUBLIC },
securityGroups: [appSecurityGroup],
platformVersion: FargatePlatformVersion.VERSION1_4,
enableExecuteCommand: true,
})

dbSecurityGroup.addIngressRule(appSecurityGroup, Port.tcp(5432))
Expand Down

0 comments on commit 10f5a65

Please sign in to comment.