-
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
Unknown variable errors in atlas on terraform push #1480
Comments
I clarified the error message, but you need to define the variables with `variable. |
@mitchellh Thanks but I don't think this is resolved or I'm misunderstanding something key about Terraform/Atlas variables. The variables were defined in a I found that by moving those sensitive vars to According to Terraform's variable docs, I think this should have worked:
|
@fromonesrc If it is ignored by git, it won't be uploaded with |
I'd recommend this bit represented in the docs. I followed the recommendation in ignoring my terraform.tfvars but I wasn't sure why my variables weren't being set in the run development in Atlas. |
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 tried setting aws key vars set in
terraform.tfvars
,variables.local.tf
but I get the following error after aterraform push -name foo/bar
triggers a plan execution.I've also tried
terraform push -name foo/bar -var "aws_secret_key=foo"
and get the same error.I'm running Terraform v0.4.1.
The text was updated successfully, but these errors were encountered: