-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
0.2.0: "terraform plan" complains about usage error that is not obvious to me :-) #243
Comments
Strange, I'm going to give this a shot now. |
Reproduced. Odd. Looking. |
Found the bug, you can workaround it by putting spaces between |
But we're going to fix this now. |
Fixed here: hashicorp/hcl@71e25b3 |
One other thing I should note: The values I used in my .tfvars file were unquoted. So in addition to putting space around the equals operator, I had to enclose the values in double quotes. This was a successful workaround. Thanks! |
@larryg-sg Thanks you so much for bringing this up here. i have been troubleshooting this for a couple of days now. Finally, terraform plan runs. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I've been playing with Terraform 0.1.1, and I got a minimal setup going that let me run
terraform plan
without any extra options. But with 0.2.0,terraform plan
gives me the usage help message, as if it is expecting something extra on the command line—but I can't figure out what. I've tried adding-var
and-var-file
options, but nothing changes.I have a directory with the following.
aws.tf:
qa-elb.tf:
terraform.tfvars:
The text was updated successfully, but these errors were encountered: