Stack dependencies - make always trigger a dependecy option rather than an output option
Currently the always trigger flag is on the output itself rather than the dependency, this means if i have one output with always trigger on and one without - the stack will still always trigger so it feels a bit confusing.
I think it makes more sense to have this on the dependency level:
resource "spacelift_stack_dependency" "test" {
stack_id = spacelift_stack.app.id
depends_on_stack_id = spacelift_stack.infra.id
trigger_always = true
}
Log in to comment and vote
Comments1
Black Breeze
Jan 21
It’s a good idea, overall, but I think you want it at both levels, really. You still want to have the ability to always trigger even if you don’t explicitly use output-input links.