theonestack / cfhighlander

Cloudformation DSL and component library
MIT License
25 stars 23 forks source link

Conditional subcomponents #17

Closed toshke closed 6 years ago

toshke commented 6 years ago

Component dsl statement should accept two new named parameters

If conditional is set to true, cfhighlander should generate condition Enable$componentname and appropriate parameter. enabled just defines default value if conditional is enabled.

Prototype component can be found at https://github.com/toshke/cfhighlander-conditionals-demo

toshke commented 6 years ago

@jaredbrook implemented in https://github.com/theonestack/cfhighlander/pull/18