sceptre icon indicating copy to clipboard operation
sceptre copied to clipboard

Enable/Disable a whole stack-group

Open cornerman opened this issue 5 years ago • 1 comments

Within my stack-group I have a lot of monitoring stuff that I do not really want to deploy to my development stages. I could of course build separate stack-groups, but currently I am parameterizing the stack-group with a variable whether it is production or development. Now, I have to hand in this variable into all cloudformation stack and put a condition on all of my resources in there.

Would it be possible to disable a whole stack-group in the config.yamldynamically, for example:

region: some-region-x
enabled: {{ var.MonitoringEnabled }}

cornerman avatar Jun 20 '19 09:06 cornerman

I think this functionality would be useful in stack configs as well.

mike-rsi avatar Jul 12 '19 20:07 mike-rsi

this has been implemented in v3.2.0 with PR #1229. The ignore stack config will allow you to disable a whole stack group

zaro0508 avatar Oct 02 '22 17:10 zaro0508