From 0aec1d0f9271be2e9ce1ef6198337258aea7953c Mon Sep 17 00:00:00 2001 From: Joseph Lawson Date: Thu, 23 Oct 2014 14:55:40 -0400 Subject: [PATCH] create_stack returns stack_id --- moto/cloudformation/responses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/cloudformation/responses.py b/moto/cloudformation/responses.py index 4267a6e48..1e4b73764 100644 --- a/moto/cloudformation/responses.py +++ b/moto/cloudformation/responses.py @@ -20,7 +20,7 @@ class CloudFormationResponse(BaseResponse): stack_body = { 'CreateStackResponse': { 'CreateStackResult': { - 'StackId': stack.name, + 'StackId': stack.stack_id, } } }