aws-samples / aws-serverless-shopping-cart

Serverless Shopping Cart is a sample implementation of a serverless shopping cart for an e-commerce website.
MIT No Attribution
326 stars 417 forks source link

Build fails #54

Open UnbarringSlinky opened 2 years ago

UnbarringSlinky commented 2 years ago

Unsure if this is the same issue previously stated, I followed the hotfix and added the permissions to IAM role Build failed at 2022-06-21T16:16:48.687Z [INFO]: ------------------------------------------------------------------------------------------------- 2022-06-21T16:16:48.990Z [WARNING]: Error: Failed to create/update the stack: amplify-aws-serverless-shopping-cart-shoppingcart-service, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once 2022-06-21T16:16:49.103Z [WARNING]: make[1]: [deploy] Error 1 2022-06-21T16:16:49.104Z [WARNING]: make: [backend] Error 2 2022-06-21T16:16:49.104Z [INFO]: make[1]: Leaving directory `/codebuild/output/src425599724/src/aws-serverless-shopping-cart/backend' 2022-06-21T16:16:49.105Z [ERROR]: !!! Build failed 2022-06-21T16:16:49.105Z [ERROR]: !!! Non-Zero Exit Code detected 2022-06-21T16:16:49.105Z [INFO]: # Starting environment caching... 2022-06-21T16:16:49.106Z [INFO]: # Environment caching completed Terminating logging...

UnbarringSlinky commented 2 years ago

Let me know if anymore data is needed!

UnbarringSlinky commented 2 years ago

Cleaned up CloudFormation Stacks and encountered a different error: 2022-06-21T16:59:28.480Z [INFO]: ------------------------------------------------------------------------------------------------- 2022-06-21T16:59:28.750Z [WARNING]: Error: Failed to create/update the stack: amplify-aws-serverless-shopping-cart-shoppingcart-service, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once 2022-06-21T16:59:28.856Z [WARNING]: make[1]: [deploy] Error 1 2022-06-21T16:59:28.856Z [WARNING]: make: [backend] Error 2 2022-06-21T16:59:28.856Z [INFO]: make[1]: Leaving directory `/codebuild/output/src515350935/src/aws-serverless-shopping-cart/backend' 2022-06-21T16:59:28.857Z [ERROR]: !!! Build failed 2022-06-21T16:59:28.857Z [ERROR]: !!! Non-Zero Exit Code detected 2022-06-21T16:59:28.857Z [INFO]: # Starting environment caching... 2022-06-21T16:59:28.858Z [INFO]: # Environment caching completed Terminating logging.. log (3).txt .