You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fixing a broken terraform state, sometimes I have a very complicated terraform state and I see a resource that I am not familiar with, but I do want to apply all of the targets except that one.
Attempted Solutions
When I have the following targets: target1, target2, target3, etc. and I do not want to apply specifically target 12, I used terraform apply -target=target1 -target=target2 -target=target3... where in an ideal case I would just use terraform apply -exclude-target=target12.
Proposal
No response
References
No response
The text was updated successfully, but these errors were encountered:
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 Version
Use Cases
When fixing a broken terraform state, sometimes I have a very complicated terraform state and I see a resource that I am not familiar with, but I do want to apply all of the targets except that one.
Attempted Solutions
When I have the following targets: target1, target2, target3, etc. and I do not want to apply specifically target 12, I used
terraform apply -target=target1 -target=target2 -target=target3...
where in an ideal case I would just useterraform apply -exclude-target=target12
.Proposal
No response
References
No response
The text was updated successfully, but these errors were encountered: