|
|
@ -136,7 +136,7 @@ def _ProcessResource(resource, imports, env, validate_schema=False):
|
|
|
|
layout = {'name': resource['name'],
|
|
|
|
layout = {'name': resource['name'],
|
|
|
|
'type': resource['type']}
|
|
|
|
'type': resource['type']}
|
|
|
|
|
|
|
|
|
|
|
|
if IsTemplate(resource['type']):
|
|
|
|
if IsTemplate(resource['type']) and resource['type'] in imports:
|
|
|
|
# A template resource, which contains sub-resources.
|
|
|
|
# A template resource, which contains sub-resources.
|
|
|
|
expanded_template = ExpandTemplate(resource, imports, env, validate_schema)
|
|
|
|
expanded_template = ExpandTemplate(resource, imports, env, validate_schema)
|
|
|
|
|
|
|
|
|
|
|
|