0.19.1 • Published 5 years ago

@tokkiyaa/cdk-monkey-patch-logical-id-literal-allocation v0.19.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

cdk-monkey-patch-logical-id-literal-allocation

Motivation

aws-cdk adds hash to logical id.

For creating new Resources this is maybe a good behavior. But when we migrate old CFn template to cdk code, this behavior is undesirable.

According to this Documentation we can prevent logical id renaming by explicitly write aws-cdk.Stack.renameLogical(logicalIdYouWrite + hash, logicalIdYouWrite). This is verbose, further, to write this, we have to calculate hash.

This packcage is a workaround to avoid writing aws-cdk.Stack.renameLogical for every resources.

Usage

0.19.1

5 years ago

0.19.0

5 years ago