camunda / camunda-tf-eks-module

Terraform modules targeting AWS EKS Cluster creation for Camunda 8 Self-Managed usage on AWS
https://docs.camunda.io/docs/self-managed/setup/deploy/amazon/amazon-eks/eks-terraform/
Apache License 2.0
1 stars 0 forks source link

Cleanup created clusters on test failure #84

Open leiicamundi opened 3 months ago

leiicamundi commented 3 months ago

When a pipeline fails or is cancelled, the created cluster needs to be remove; this could be implemented by a safe-net mechanism with terraform destroys

leiicamundi commented 3 months ago

After looking at the existing code, it would requires to use a bucket and use it to reference the state.

Then we could have helpers that trigger deletion based on the name of the bucket