Break affected files down into new, modified, deleted

We make use of

https://github.com/spacelift-io-examples/dynamic-spacelift-stacks-example/tree/main to create stacks for all of our terragrunt projects in a monorepo.

Given hundreds of terragrunt projects exist in the monorepo, we only trigger the administrative job if affected files contain something relating to the administrative stack.

As a result, when new Terragrunt projects are added, they arenโ€™t picked upโ€”the administrative stack is not modified, but a new terragrunt.hcl file is introduced.

It would be neat if it were possible to break the affected files section of the policy input into new, modified and deleted so we could have a policy trigger the administrative stack if a new terragrunt.hcl is introduced or a terragrunt.hcl is deleted.

Workaround
-
Problem
-

Please authenticate to join the conversation.

Upvoters
Status

๐Ÿ”ญ Discovery

Board

๐Ÿ’ก Feature Requests

Tags

Terragrunt

Date

11 months ago

Subscribe to post

Get notified by email when there are changes.