Commit 59785675 by Michael DeHaan

Merge pull request #6366 from cloudify/devel

Fix for #6365: cloudformation module fails to update if stack exists
parents fd9df5f4 b9ab31eb
......@@ -250,7 +250,7 @@ def main():
operation = 'CREATE'
except Exception, err:
error_msg = boto_exception(err)
if 'AlreadyExistsException' in error_msg:
if 'AlreadyExistsException' in error_msg or 'already exists' in error_msg:
update = True
else:
module.fail_json(msg=error_msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment