Since this module ensures that terraform users provision a versioned bucket for state, it should also provide instructions for why that is useful and how to roll back in case of disasters.
Get the version you want ( revert.tfstate is used as the <outfile> arg )
TODO: How can a user determine which version they want? Previewing state by pulling an object version and pointing terraform show at it? That's the only way I can think of. Sounds like this is going to turn into a weird side project/tool.
Since this module ensures that terraform users provision a versioned bucket for state, it should also provide instructions for why that is useful and how to roll back in case of disasters.
wip
revert.tfstate
is used as the<outfile>
arg )TODO: How can a user determine which version they want? Previewing state by pulling an object version and pointing
terraform show
at it? That's the only way I can think of. Sounds like this is going to turn into a weird side project/tool.Check out the content type (probably
application/json
) and metadata (if any)Copy previous object version
Set as current version: