Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the refactor step to the deploy command #147

Open
otaviomacedo opened this issue Feb 25, 2025 · 0 comments
Open

Add the refactor step to the deploy command #147

otaviomacedo opened this issue Feb 25, 2025 · 0 comments

Comments

@otaviomacedo
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant