Allow declarative/CLI method to import pre-existing resources #18022
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
package/tools
Related to AWS CDK Tools or CLI
Description
Attempting to transition existing resources from non-CloudFormation (even existing CloudFormation) into the CDK currently is a relatively complicated and manual process that requires synthesizing the stack and going through an error prone process via the CFN CLI or Console.
Use Case
To greatly simplify moving existing resources into the CDK stacks when transitioning from other IaC (or manual) methods of creating resources.
Proposed Solution
In theory, some declarative way like
.importResource(<resource-identifier>)
on supported resources which gets automatically translated to the appropriate import change set upon either A) a newly created stack or B) if the CDK detects that an import statement is present and there's no underlying resources for a given logical resource in a stack.Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: