Skip to content

Commit

Permalink
fix(cdk-deploy): delete stack permission
Browse files Browse the repository at this point in the history
The permission is needed during initial stack deployment
when the deployment fails. The next attempt needs to delete
the stack before retrying.
  • Loading branch information
henrist committed Jun 14, 2020
1 parent a6dd2a0 commit 48d1246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions __snapshots__/app/cdk-deploy-example.template.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/cdk-deploy/cdk-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export class CdkDeploy extends cdk.Construct {
"cloudformation:GetTemplate",
// For deploy.
"cloudformation:CreateChangeSet",
"cloudformation:DeleteStack",
"cloudformation:DescribeChangeSet",
"cloudformation:ExecuteChangeSet",
"cloudformation:DescribeStackEvents",
Expand Down

0 comments on commit 48d1246

Please sign in to comment.