Hi Guys,
I am facing an error while trying to deploy the serverless application, Cloud formation fails to create the stack and do the rollback, never get the deployment done. Here I am sharing the error which we are facing.
Uploading CloudFormation file to S3
60 Uploading State file to S3
61 Uploading service xyz-backend.zip file to S3 (100.23 MB)
62 Creating new change set
63 Waiting for new change set to be created
64 Change Set did not reach desired state, retrying
65 Executing created change set
66 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - xyz-backend-internalTesting
67 UPDATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
68 UPDATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
69 UPDATE_COMPLETE - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
70 UPDATE_COMPLETE - AWS::IAM::Role - IamRoleLambdaExecution
71 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 4NestedStack
72 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 2NestedStack
73 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 5NestedStack
74 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 3NestedStack
75 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 1NestedStack
76 UPDATE_FAILED - AWS::CloudFormation::Stack - 5NestedStack
77 UPDATE_FAILED - AWS::CloudFormation::Stack - 4NestedStack
78 UPDATE_FAILED - AWS::CloudFormation::Stack - 2NestedStack
79 UPDATE_FAILED - AWS::CloudFormation::Stack - 3NestedStack
80 UPDATE_FAILED - AWS::CloudFormation::Stack - 1NestedStack
81 UPDATE_ROLLBACK_IN_PROGRESS - AWS::CloudFormation::Stack - xyz-backend-internalTesting
82 UPDATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution
83 UPDATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
84 UPDATE_COMPLETE - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy
85 UPDATE_COMPLETE - AWS::IAM::Role - IamRoleLambdaExecution
86 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 5NestedStack
87 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 2NestedStack
88 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 4NestedStack
89 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 3NestedStack
90 UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - 1NestedStack
91 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 5NestedStack
92 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 3NestedStack
93 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 1NestedStack
94 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 2NestedStack
95 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 4NestedStack
96 UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS - AWS::CloudFormation::Stack - xyz-backend-internalTesting
97 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 2NestedStack
98 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 5NestedStack
99 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 3NestedStack
100 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 4NestedStack
101 UPDATE_COMPLETE - AWS::CloudFormation::Stack - 1NestedStack
102 UPDATE_ROLLBACK_COMPLETE - AWS::CloudFormation::Stack - xyz-backend-internalTesting
103
104 × Stack xyz-backend-internalTesting failed to deploy (179s)
105 Environment: linux, node 12.16.1, framework 3.29.0, plugin 6.2.3, SDK 4.3.2
109
110 Error:
111 UPDATE_FAILED: 5NestedStack (AWS::CloudFormation::Stack)
112 Embedded stack arn:aws:cloudformation:eu-west-3:456712961131:stack/xyz-backend-internalTesting-5NestedStack-UOPVR8YZXQJ7/53de12a0-18fc-11eb-8b0c-0eb47eb8b8bc was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [DeletePromoCodeLambdaFunction, DeleteFAQLambdaFunction, GetDecryptLambdaFunction, UpdateMessageLambdaFunction, TwilioCallLambdaFunction, CaptureAddOnPaymentLambdaFunction, LogoutLambdaFunction, GetProductLambdaFunction, GetUserLambdaFunction, NewProductLambdaFunction, CheckUserEmailLambdaFunction, UpdatePromoCodeLambdaFunction, GetMessageLambdaFunction, ExportUserLambdaFunction, StripeWebhookLambdaFunction, UpdateStRequestStatusLambdaFunction, NotifyPreBookingLambdaFunction, UpdateCategoryLambdaFunction, GetLocationRequestLambdaFunction, UpdateAddOnLambdaFunction, LoginLambdaFunction, DeleteAddOnLambdaFunction, DeleteUserLambdaFunction, UpdateUserExtrasLambdaFunction].
113
Please help me with any of the below:
- Locating the error, as I am not able to get any specific error reason behind this issue from the CloudFormation.
- We are using “serverless-plugin-split-stacks”, is this creating any issues in deployment?
- Any workaround to resolve this?
Thanks