Closed jbbarth closed 2 years ago
@tongueroo wow thanks for merging it so quickly!! Can you issue a new patch release of the gem? Or do you want to wait for some reason? Thanks
No reason. Just barely didn't get to it last night. Released in 2.1.6. Thanks for the contribution!
Awesome, thank you!
This is a 🐞 bug fix.
bundle exec rspec
to verify this)Summary
Terraform 1.1.0+ unified some options and the help section for "terraform apply" and "terraform destroy" changed then. See PR: https://github.com/hashicorp/terraform/pull/28489
As a consequence, "terraform apply -help" doesn't contain all the options supported by "terraform apply". For instance, it misses the "-target=resource" option, hence terraspace won't pass it down to terraform while it should. Same goes for "terraform destroy".
Context
Previously reported in #235.
How to Test
You can test with
terraspace up -target=a.given.resource
Version Changes
Patch.