Do not trigger runs when dependency changes

In the Stack dependencies setup, there is the option to always trigger when a dependent stack runs, or only when the specific dependency changes, but not to not trigger a run in any case.

As stack dependencies are the recommended way of using outputs from other stacks, it would be great to have another mode when an output dependency changes foes not trigger any run.

This shoudl, be doable via the Terraform resource spacelift_stack_dependency_reference

e.g.

  • stackA depends on outputX of stackB.

  • stackA does not need to immediately do a run when outputX changes

  • stackA ← outputB dependency should be able to be configure as β€œNever Trigger", in the same manner ti an be confgiure with "Always trigger"

Workaround
No
Problem
We have a very big number of stacks that do have dependencies in network and security stacks, but that do not require those changes to be applied immediately, and instead run in a schedule. With the current system, out workers get overwhelmed when this common depenencies are updated, and we get hundreds of runs that we do not need and that interfer with the regular operations.

Please authenticate to join the conversation.

Upvoters
Status

πŸ”­ Discovery

Board

πŸ’‘ Feature Requests

Tags

Stack Dependencies

Date

7 months ago

Subscribe to post

Get notified by email when there are changes.