Skip to content

DictTransformer - do not wrap type literals into ${ and } - #186

Merged
kkozik-amplify merged 1 commit into
mainfrom
fix/type-literals-transformation
Jan 24, 2025
Merged

kkozik-amplify merged 1 commit into
mainfrom
fix/type-literals-transformation

Conversation

@kkozik-amplify

@kkozik-amplify kkozik-amplify commented Jan 23, 2025 •

Copy link
Copy Markdown
Collaborator
  • make an exception for bool, number and string literals to not be wrapped into string dollars
  • add unit tests for the above

this fixes #179

@kkozik-amplify
kkozik-amplify marked this pull request as ready for review January 23, 2025 16:00
@kkozik-amplify
kkozik-amplify requested a review from a team as a code owner January 23, 2025 16:00
Comment thread hcl2/transformer.py Resolved
@kkozik-amplify
kkozik-amplify force-pushed the fix/type-literals-transformation branch from 5573060 to 8bcd9fd Compare January 23, 2025 17:22
@kkozik-amplify
kkozik-amplify merged commit 7afa933 into main Jan 24, 2025
@kkozik-amplify
kkozik-amplify deleted the fix/type-literals-transformation branch January 24, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transforming a .tf file into .tf.json returns wrong types

2 participants