-
Notifications
You must be signed in to change notification settings - Fork 83
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
Construct scope relocation #201
Labels
management/tracking
status/stale
The RFC did not get any significant enough progress or tracking and has become stale.
Comments
Marking this RFCs as |
mrgrain
added
status/stale
The RFC did not get any significant enough progress or tracking and has become stale.
and removed
status/proposed
Newly proposed RFC
labels
Oct 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
management/tracking
status/stale
The RFC did not get any significant enough progress or tracking and has become stale.
Description
To allow preserving paths and generated identities when refactoring construct trees, we propose to introduce
construct.node.relocate(path)
which will allow specifying the root path for a scope and all its children.For example, if I have a set of stacks in production which I want to bundle into a new
Stage
type so that I can deploy them through CDK Pipelines and deploy them without replacement of resources, I would userelocate()
to ensure that all paths and unique IDs are preserved as I refactor my code.Progress
The text was updated successfully, but these errors were encountered: