Skip to content
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

terraform.tfvars not being picked up automatically #146

Closed
jasonkuhrt opened this issue Aug 4, 2014 · 3 comments
Closed

terraform.tfvars not being picked up automatically #146

jasonkuhrt opened this issue Aug 4, 2014 · 3 comments

Comments

@jasonkuhrt
Copy link

If a "terraform.tfvars" file is present, Terraform automatically loads it to populate variables. If the file is named something else, you can use the -var-file flag directly to specify a file.

This is not holding true for me:

⧑ ls
example.tf               terraform.tfplan         terraform.tfstate        terraform.tfstate.backup terraform.tfvars

~/terraform
⧑ tf plan -out terraform.tfplan
There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * Required variable not set: key_name
  * Required variable not set: key_path
  * Required variable not set: access_key
  * Required variable not set: secret_key
@hectcastro
Copy link
Contributor

This appears to be a duplicate of #59.

@pearkes
Copy link
Contributor

pearkes commented Aug 4, 2014

Yes, @hectcastro is right, looks like a duplicate. Closing this in favor, please follow along on that issue @jasonkuhrt! Thanks!

@jasonkuhrt
Copy link
Author

@pearkes @hectcastro Cool cheers guys. Sorry about that : )

@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants