Skip to content

Commit 09a312c

Browse files
committed
fix: remove DeploymentConfig policy for custom resource
1 parent a4b34df commit 09a312c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/cdk-blue-green-container-deployment/src/ecs-deployment-group.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,7 @@ export class EcsDeploymentGroup extends Resource implements IEcsDeploymentGroup
8585
policyStatements: [
8686
{
8787
Effect: Effect.ALLOW,
88-
Action: [
89-
'codeDeploy:CreateDeploymentGroup',
90-
'codeDeploy:UpdateDeploymentGroup',
91-
'codeDeploy:DeleteDeploymentGroup',
92-
'codedeploy:CreateDeploymentConfig',
93-
'codedeploy:DeleteDeploymentConfig',
94-
],
88+
Action: ['codeDeploy:CreateDeploymentGroup', 'codeDeploy:UpdateDeploymentGroup', 'codeDeploy:DeleteDeploymentGroup'],
9589
Resource: '*',
9690
},
9791
{

0 commit comments

Comments
 (0)