opendevstack / opendevstack/ods-quickstarters
inf-terraform-aws - preserve errored.tfstate file in case of write failure in make deploy
Open
@nichtraunzer is already working on this.
Since Mar 31, 2022.
- Dominant language
- Shell
- Stars
- 39
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
In case terraform cannot upload the state file to the configured bucket it writes it to a file errored.tfstate.
It is important to preserve this file so that manual error handling can be done (e.g. upload file manually).
In addition it might be beneficial to check before that permissions and infrastructure setup is properly configured for running the terraform deploy command.
FYI: @nichtraunzer
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.