aws-samples / aws-samples/aws-starter-react-for-github-actions

Deploy failed

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
366
PR merge metrics
No merged PRs in 30d

Description

Run aws-actions/aws-cloudformation-github-deploy@v1
##[debug]Loading CloudFormation Stack template
##[debug]Creating CloudFormation Stack
Error: {"result":{"state":"FAILURE","reason":{"$metadata":{"httpStatusCode":200,"requestId":"f02c3530-7bb4-46b7-bcd1-9df2a76bc4ad","attempts":1,"totalRetryDelay":0},"Stacks":[{"StackId":"arn:aws:cloudformation:us-east-1:***:stack/aws-cloud1/4ffcfbb0-26f4-11ef-95ac-0affe1b27e3d","StackName":"aws-cloud1","Parameters":[{"ParameterKey":"Repository","ParameterValue":"https://github.com/abhimanu-sharma/aws-cloud1"},{"ParameterKey":"OauthToken","ParameterValue":"****"},{"ParameterKey":"Branch","ParameterValue":"master"},{"ParameterKey":"Domain","ParameterValue":""},{"ParameterKey":"Name","ParameterValue":"aws-cloud1"}],"CreationTime":"2024-06-10T06:40:22.[81](https://github.com/abhimanu-sharma/aws-cloud1/actions/runs/9443222160/job/26007747397#step:5:82)7Z","DeletionTime":"2024-06-10T06:40:26.951Z","RollbackConfiguration":{},"StackStatus":"ROLLBACK_FAILED","StackStatusReason":"The following resource(s) failed to delete: [AmplifyRole]. ","DisableRollback":false,"NotificationARNs":[],"Capabilities":["CAPABILITY_IAM"],"Tags":[],"EnableTerminationProtection":false,"DriftInformation":{"StackDriftStatus":"NOT_CHECKED"}}]}}}

Contributor guide

Open the contributing guide

Research direction

Start with the linked GitHub Actions workflow run and the CloudFormation stack status showing ROLLBACK_FAILED because AmplifyRole could not be deleted. Inspect the stack events and deployment configuration to identify the failure; done means the workflow creates the stack without rollback.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github-actions, typescript
Domain
ci-cd, cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.