Bonus: Prod Destroy

In a real use case, it is strongly discouraged to create stages/jobs destroying resources in production.

Exceptionally for this practical project made for learning, this stage brings a comfort of use especially for debugging; and shows how easily and quickly it is possible to destroy a large amount of resources deployed with Terraform, Kubectl or Helm using a single command (terraform destroy, kubectl delete or helm uninstall).

📃 See the prod destroy stage at the end of the Gitlab CI configuration file →