Ensure Functions can be created without stack definition
In a number of places we parse templates passing None as the stack definition, in order to be able to extract information from the template in cases where we don't actually need to resolve functions. However, the GetParam and GetFile HOT functions require an actual stack definition to be passed in order to initialise them. So far we haven't encountered any cases where those functions appear where we pass None for the stack definition. Ensure that all Functions can always be created even with no stack definition. Note that the cfn ParamRef class is not affected, as the Ref function always selects the GetResource implementation when the stack definition is None. Change-Id: Ic947dcdc17e9dbc58459a92ba970c292d70578cdchanges/80/611680/2
parent
b90278b503
commit
bb3ddcf573
Loading…
Reference in New Issue