@tokkiyaa/cdk-monkey-patch-logical-id-literal-allocation

0.19.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @tokkiyaa/cdk-monkey-patch-logical-id-literal-allocation

Weekly Downloads

3

Version

0.19.1

License

ISC

Unpacked Size

3.24 kB

Total Files

3

Last publish

Collaborators

  • tokkiyaa