-
Hi there To create resources with our Gitlab CI we just add the folder/subfolder/terragrunt.hcl. During the MR phase, the pipeline will run-all plan, once merged it'll run-all apply, all good. But how do we remove resources ? If we make a MR removing the folder, then nothing happens, the plan-all / run-all will juste ignore the folder/subfolder/terraform.tfstate (we're using the So far we could think of three ways
I read the documentation but I saw no recommended way for this. Did I missed something like a "compare my whole directory structure with the remote state bucket structure and destroy missing stuff" command ? Or a recommended CI workflow ? Maybe a third party tool like Atlantis is relevant here ? Thanks in advance for any suggestions |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here's a write-up of how we run |
Beta Was this translation helpful? Give feedback.
Here's a write-up of how we run
apply
anddestroy
in our pipelines: https://blog.gruntwork.io/a-ci-cd-pipeline-for-terraform-and-terragrunt-5fd346e90c89