Support conditions function
http://
Now heat doesn't support this 'Conditions' function, I believe heat need to support this too, and considering the user habits and compatibility with aws cloudformation, I think we can implement the conditions function as aws cloudformation did.
To support 'conditions' in template level, property level and support the intrinsic functions 'equals', 'and', 'if', 'not', 'or'.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- huangtianhua
- Direction:
- Approved
- Assignee:
- huangtianhua
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- newton-3
- Started by
- huangtianhua
- Completed by
- Thomas Herve
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Support 'Conditions' for cfn template
Addressed by: https:/
Support conditions function
Addressed by: https:/
Provides if conditon function
Addressed by: https:/
Provides 'equals' intrinsic function
Addressed by: https:/
Support resource/output condition
Addressed by: https:/
Provides 'if' intrinsic function
Addressed by: https:/
Add a Macro class to heat.engine.
Addressed by: https:/
Decouple hot and cfn for outputs
Addressed by: https:/
Support 'conditions' section for templates
Addressed by: https:/
Refactor resource definition validating
Addressed by: https:/
Add validating of section 'conditions'
Gerrit topic: https:/
Addressed by: https:/
Support condition for resource
Addressed by: https:/
Support condition for output
Addressed by: https:/
Provides 'not' condition function
Addressed by: https:/
Provide 'and' function
Addressed by: https:/
Provide 'or' function
Addressed by: https:/
Add 'resources' to error msg path if res' condition invalid
Addressed by: https:/
Allow reference conditions
Gerrit topic: https:/
Addressed by: https:/
Allows condition name using boolean or function
Gerrit topic: https:/
Addressed by: https:/
Allow referencing conditions by name
Addressed by: https:/
Create ResourceDefinitions directly in ResourceGroup/Chain
Addressed by: https:/
Make cfn functions inherit from HOT
Addressed by: https:/
Refactor boolean condition functions
Addressed by: https:/
Refactor resource definition parsing in HOT/cfn
Addressed by: https:/
Add releasenote for conditions function