Add the refactor step to the `deploy` command
- 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
Assessment
This issue has not been assessed yet.