-
Notifications
You must be signed in to change notification settings - Fork 536
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
Allow unquoted item names. Fixes #64 #70
Conversation
Docs are not entirely clear on this, but unquoted items names are accepted by terraform See: https://www.terraform.io/docs/configuration/syntax.html
Hi @beatcracker. Thank you for your contribution! Looks like your submission is missing tests. Here's a list of places where tests would be necessary:
Let me know if you have any questions. |
@beatcracker oh my... I was experimenting with GitHub's online editing feature on pull request branches and it became a total mess. Will take care to fix it! |
@metmajer No problem, thanks for the help. I wasn't sure how to merge latest changes to my branch anyway. |
@beatcracker so, here's the thing... GitHub's online editor adds a trailing newline whenever a file is edited. However, this breaks tests with files |
I guess it makes it POSIX-compatible then 😃 . |
I’m OK with the .golden files not being compliant and only contain what they should 😜 |
Great work, @beatcracker! |
Prerequisites
Put an
x
into the box(es) that apply:For more information, see the Contributing Guide.
Description
Fixes invalid syntax error when output/variable name is not quoted in
tf
file.Example
Docs are not entirely clear on this, but unquoted items names are accepted by terraform. See: https://www.terraform.io/docs/configuration/syntax.html
Issues Resolved
"invalid syntax" error when output name is not quoted
Checklist
Put an
x
into all boxes that apply:Tests
make test
.Documentation
Code Style