sceptre icon indicating copy to clipboard operation
sceptre copied to clipboard

Allow for a default in stack_output resolver

Open pwrmiller opened this issue 6 years ago • 1 comments

Currently the stack_output resolver does not support a default, raising DependencyStackMissingOutputError if an output parameter is not found.

Consider modifying the stack_output resolver to add an additional parameter specifying a default if the output parameter is not found.

The other option we have would be to make sceptre parameters conditional by adding a jinja2 filter like Ansible's omit. (see: Filters - Ansible Documentation. Would optional stack config like this be desirable for parameters in sceptre?

pwrmiller avatar Feb 28 '19 13:02 pwrmiller

This does seems like a useful feature. The other option, which i've been using, is to add the parameter to your CF template and set a default value there.

zaro0508 avatar Mar 05 '19 21:03 zaro0508

This issue is old and there does seem to be a workaround therefore closing.

zaro0508 avatar Mar 14 '23 18:03 zaro0508