claranet / jinjaform

Terraform wrapper with Jinja2 templates
MIT License
35 stars 8 forks source link

Keep errored.tfstate #26

Open raymondbutcher opened 5 years ago

raymondbutcher commented 5 years ago

If credentials expire, and it can't write the state to the remote backend, Terraform creates errored.tfstate and displays this:

To retry writing this state, use the following command:
    terraform state push errored.tfstate

Jinjaform should try to keep this file to allow for recovery.

raymondbutcher commented 5 years ago

Related to #19