Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix taint and untaint and support pass through args #334

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

tongueroo
Copy link
Contributor

This is a πŸ™‹β€β™‚οΈ feature or enhancement

  • I've added tests (if it's a bug, feature or enhancement)
  • I've adjusted the documentation (if it's a feature or enhancement)
  • The test suite passes (run bundle exec rspec to verify this)

Summary

Fix the taint and untaint commands from #331

taint example

❯ terraspace taint demo random_pet.this -allow-missing
Building .terraspace-cache/us-west-2/dev/stacks/demo
Current directory: .terraspace-cache/us-west-2/dev/stacks/demo
=> terraform taint -allow-missing random_pet.this
Resource instance random_pet.this has been marked as tainted.

untaint example

❯ terraspace untaint demo random_pet.this 
Building .terraspace-cache/us-west-2/dev/stacks/demo
Current directory: .terraspace-cache/us-west-2/dev/stacks/demo
=> terraform untaint random_pet.this
Resource instance random_pet.this has been successfully untainted.

Also, allow support for pass through arguments as seen above

Context

Related #331

How to Test

Run commands above.

Version Changes

Patch

@tongueroo tongueroo merged commit a84a01c into master Oct 18, 2023
@tongueroo tongueroo deleted the taint branch October 18, 2023 22:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant