-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
.tfvars file doesn't seem to be loaded by default #59
Comments
This is a bug. Thanks. |
Since it's not implemented yet, what about considering renaming it to just |
@gaffneyc That's not a bad idea, but would conflict with the fact we use |
Fixed |
I'm -1 on supporting |
@alekstorm it's not a hidden file. For instance, my variables are stored in |
An earlier commenter floated the idea of renaming it to literally |
@alekstorm Ah, see that now, nevermind :) Agree with @mitchellh on the idea of supporting both. |
@alekstorm my understanding is that the I agree that supporting both would be good. |
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. |
According to the documentation, a file with the extension
.tfvars
should be loaded automatically. However, in practice this doesn't seem to be occurring for me.I have a
terraform.tfvars
file with the following contents:However, running
terraform plan
doesn't seem to include those variables:Running
terraform plan -var-file=terraform.tfvars
, however, does work:Am I missing something?
The text was updated successfully, but these errors were encountered: