This also means that if no default is specified, nested stacks will not
time out (previously they used the default timeout of 60 minutes). Of
course, like other resources, creation of the nested stack will stop if and
when the parent stack times out.
Change-Id: Ibd55c32d63e971f79319ed40321fa4be52b65419
template_data = urlfetch.get(self.properties[PROP_TEMPLATE_URL])
template = template_format.parse(template_data)
- self.create_with_template(template, self.properties[PROP_PARAMETERS])
+ self.create_with_template(template,
+ self.properties[PROP_PARAMETERS],
+ self.properties[PROP_TIMEOUT_MINS])
def handle_delete(self):
self.delete_nested()
return self._nested
- def create_with_template(self, child_template, user_params):
+ def create_with_template(self, child_template, user_params,
+ timeout_mins=None):
'''
Handle the creation of the nested stack from a given JSON template.
'''
self.physical_resource_name(),
template,
params,
+ timeout_mins=timeout_mins,
disable_rollback=True)
nested_id = self._nested.store(self.stack)