aws / aws/aws-cdk-cli

Add the refactor step to the `deploy` command

Open
#147 0 comments 0 reactions 1 assignee Claimed by @otaviomacedo View on GitHub
p2
Dominant language
TypeScript
Stars
105
Forks
122
Avg merge
2d 2h
Merged PRs (30d)
69

Description

Once all the refactoring logic is implemented, we can add it as a step prior to deployment, in the `deploy` command. The confirmation step now becomes:

The following resources were moved or renamed:

┌───────────────────────────────┬───────────────────────────────┬──────────────────────────┐
│ Resource Type │ Old Logical ID │ New Logical ID │
├───────────────────────────────┼───────────────────────────────┼──────────────────────────┤
│ AWS::S3::Bucket │ MyStack.Queue1A4198146 │ Web.Bucket843D52FF │
├───────────────────────────────┼───────────────────────────────┼──────────────────────────┤
│ AWS::CloudFront::Distribution │ MyStack.DistributionE3BB089E │ Web.Distribution7142E1F1 │
├───────────────────────────────┼───────────────────────────────┼──────────────────────────┤
│ AWS::Lambda::Function │ MyStack.FunctionA5EA2BD8 │ Service.Function8F0BB69B │
└───────────────────────────────┴───────────────────────────────┴──────────────────────────┘

? What do you want to do? (Use arrow keys)
❯ Execute the refactor and deploy
Deploy without refactoring (will cause resource replacement)
Quit

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.