'An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda

I am very new to AWS. While Publish my code to Aws Serverless Lambda API. After processing of 100% it gives error of

Found existing stack: True
The stack's current state of UPDATE_ROLLBACK_FAILED is invalid for updating
Failed to publish AWS Serverless application

and on server when checked on the server it shows

Description : An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda.
Status Reason: The following resource(s) failed to update: [AspNetCoreFunctionRole].
Status : UPDATE_ROLLBACK_FAILED

Don't know what to check, where to check. I think some error of dot net version, these are the dot net related apps installed in my system. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source