-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: New lines in modified attributes #76
Conversation
This reverts commit 4b930d0.
default = {} | ||
} | ||
|
||
resource "aws_s3_bucket" "example" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avnerenv0 is there any special reason why tf12
scenario/tests are different than tf11
? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just because the interpolation syntax "${...}"
I wanted to make sure it works as expected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Fixes #71
Instead of inserting our modified tags as a string,
We will pass them through HCL Parse and insert them as raw tokens.
That way newlines are inserted correctly instead of as
\n