Merge "StackAction parameter to distinguish top-level create vs. update"
This commit is contained in:
commit
b82ae4cc8a
|
@ -48,7 +48,7 @@ class UpdateManagerTest(base.TestCase):
|
|||
'stack_id': 'stack_id',
|
||||
'template': 'template body',
|
||||
'files': {},
|
||||
'parameters': {'UpdateIdentifier': 123},
|
||||
'parameters': {'UpdateIdentifier': 123, 'StackAction': 'UPDATE'},
|
||||
'environment': {
|
||||
'resource_registry': {
|
||||
'resources': {
|
||||
|
|
|
@ -49,7 +49,7 @@ class PackageUpdateManager(_stack_update.StackUpdateManager):
|
|||
# time rounded to seconds
|
||||
timestamp = int(time.time())
|
||||
|
||||
stack_params = {'UpdateIdentifier': timestamp}
|
||||
stack_params = {'UpdateIdentifier': timestamp, 'StackAction': 'UPDATE'}
|
||||
|
||||
tpl_files, template = template_utils.get_template_contents(
|
||||
template_file=os.path.join(self.tht_dir, constants.TEMPLATE_NAME))
|
||||
|
|
Loading…
Reference in New Issue