heat/heat/engine/cfn
Zane Bitter c25034f5cd Strip disabled resources from depends_on in add_resource()
When we add a resource to a template using add_resource(), strip any
references to resources that are not present in the template from
'depends_on'. This means that resources that are present and depended on
but conditionally disabled in the source template will not be depended
on in the destination template, where they're not present at all (and
thus would cause errors when the template is used).

Change-Id: I58a64cd523cc0d1da8cd39793f0c839189458d99
Closes-Bug: #1701677
Related-Bug: #1649900
2017-07-21 10:55:23 -04:00
..
__init__.py Move built-in functions to separate modules 2014-02-19 00:02:01 -05:00
functions.py Do str_replace in a single pass 2016-09-14 18:08:50 -04:00
parameters.py Move CFN pseudo functions out of Parameters base class 2017-01-27 15:24:44 -06:00
template.py Strip disabled resources from depends_on in add_resource() 2017-07-21 10:55:23 -04:00