[cfn-include] Allow re-naming the template's logical IDs #9714
Labels
@aws-cdk/cloudformation-include
Issues related to the "CFN include v.20" package
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Milestone
Right now, whenever we use
CfnInclude
, we always override the logical IDs of all elements (Resources, Parameters, etc.) we find there to be the same as in the template, regardless of the CDK construct hierarchy they are created in.There should be an option added to
CfnIncludeProps
(possible name:preserveLogicalIds
) that allows to turn that behavior off, so that the CDK generates the logical IDs itself, like it does for newly created resources (the default should betrue
, to preserve the current behavior).There's also a test in the current suite which should be enabled after this is done.
This issue has dependencies on the following issues (these need to be completed before this can be done):
The text was updated successfully, but these errors were encountered: