capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

[Terraform Runner] Store the terraform state even if failed #547

Open mszostok opened 2 years ago

mszostok commented 2 years ago

Description

Currently, when the Terraform Runner step fails, we don't have access to terraform variables and terraform state. Unfortunately, it's really problematic as we need to manually delete all resources created by executed module.

To consider: use local MinIO as remote state?

Reason

Lack of terraform state and variables results in manually clean-up action, which is hard to perform and takes a lot of time.

Use cases