-
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
terraform.tfvars interferes with destroy subcommand #153
Comments
Ah! Good catch. This is a bug we'll get a 0.1.2 out for this. |
Fixed |
i am using terraform 0.3.7, i pass few variables with -var flag to terraform apply it works fine, |
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. |
terraform.tfvars interferes with destroy subcommand
terraform apply destroy.tfplan
You can't set variables with the '-var' or '-var-file' flag
when you're applying a plan file. The variables used when
the plan was created will be used. If you wish to use different
variable values, create a new plan file.
work around is to rename terraform.tfvars file before running command.
The text was updated successfully, but these errors were encountered: