From 53f9e9618930a7e41d320d9da70519808095f625 Mon Sep 17 00:00:00 2001 From: Federico Feroldi Date: Mon, 10 Mar 2014 13:11:09 +0100 Subject: [PATCH] Fix for #6365: cloudformation module fails to update if stack exists --- cloud/cloudformation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/cloudformation b/cloud/cloudformation index e072f3923f8..822bd6e2503 100644 --- a/cloud/cloudformation +++ b/cloud/cloudformation @@ -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)