CodePipelines migrate from existing application #22623
Unanswered
bobveringa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently working on an existing CDK application that does not use Code Pipelines. Because the application now needs to be deployed in multiple regions and across multiple accounts, Code Pipelines look like an ideal solution.
However, code pipelines seem to require stages, the application currently does not use this and only uses the App as scope.
Example:
Moving to Stages changes the scope of the stacks and causes a redeployment of stateful resources, like the RDS database instance, Cognito User pools and DNS records. Some of these resources can be imported to other stacks (this seems like a very manual process), but cognito user pools are not supported1.
The names of the stacks also seem to change when they are added to a stage (this makes sense), but forcing the name to be the same as the current stack E.G. currently it is
monitoring
in the stage it isapp-prod-euc1-monitoring
, forcing this generated name tomonitoring
still redeploys resources (I am guessing the scope is different).Is there any way to move these resources between stacks, or better yet, a way to migrate the entire application to Stages without a redeployment?
[1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html
Beta Was this translation helpful? Give feedback.
All reactions