Open bgshacklett opened 10 months ago
Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again!
Terraform Version
Use Cases
I'm currently updating an EBS module to supports snapshots being specified. I'd like to assert that the volume is recreated in such circumstances.
Attempted Solutions
I'm currently relying on asserting that the snapshot id is set and the knowledge that this value is immutable.
Proposal
Without getting into exact implementation details, in my particular use case, a
lifecycle
property might be helpful as part of the assertion toolkit. For example:Alternatively, further types of assertion blocks could be used:
References
No response