Replies: 1 comment 2 replies
-
Hey @flixman , I can tell you what Gruntwork Pipelines does. When determine what actions to take, it knows that there are three git references that are relevant, the source, target and post-merge refs. It can get really confusing to talk about which of these is what, so for the sake of this explanation, think of a pull request that is trying to remove one directory with a Whenever Whenever The end result is that you destroy stuff in the git context of your code before your removal of files, and you add stuff in the git context of your code after you add/change files. The details there about renaming have to do with something you might run into as you start to implement, which is that if you remove a directory named |
Beta Was this translation helpful? Give feedback.
-
Hi everybody! We are trying to get a CI pipeline to set up our infrastructure. Given a commit with additive changes (provisioning / updating infrastructure) that is easy to do: terragrunt run-all apply, and done. However, for destructive changes, this is more complicated: The folder with the component to be removed is just not there, so terragrunt does not know about it. We are evaluating now a course of action based on either:
Do you guys know if there is a better way to do this? We are looking at it from different angles, and cannot find one. Also, doing this feels too intricate.
Beta Was this translation helpful? Give feedback.
All reactions