diff --git a/moto/cloudformation/responses.py b/moto/cloudformation/responses.py index 4267a6e4..1e4b7376 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, } } }