We would like the ability to conditionally enable or disable stacks defined in a template based on input values.
A common use case is selectively deploying optional components, for example via a boolean input such as enable_service_x. When set to false, the corresponding stack should not be created or executed.
This becomes particularly important in templates that define multiple related stacks, where some components are optional depending on environment, tenant, or feature flags.
Expected behaviour:
Stacks can be conditionally included or excluded based on template inputs.
Disabled stacks are treated as if they do not exist for that run.
Any dependencies referencing a disabled stack are ignored rather than causing errors.
The dependency graph is resolved dynamically after conditions are evaluated.
Please authenticate to join the conversation.
π In Review
π‘ Feature Requests
Stacks
About 3 hours ago
Get notified by email when there are changes.
π In Review
π‘ Feature Requests
Stacks
About 3 hours ago
Get notified by email when there are changes.