awslabs / awslabs/amazon-app-runner-deploy

Action output does not include result of success/fail stable state

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
60
Forks
34
PR merge metrics
No merged PRs in 30d

Description

When waiting for a stable state to be reached with this action, the state that is reached is not returned as an output.
> Service arn:aws:apprunner:eu-west-2:xxxxx:service/test/xxxx....xxxxx has reached the stable state CREATE_FAILED
> App Runner step - DONE!

Perhaps there is a reason as to why a CREATE_FAILED state reached doesn't fail the overall action, but this means I can't set a `run: exit 1` / otherwise setFailed to intentionally fail the workflow when a build fails to deploy. This provides poor traceability for failed App Runner deploys.

Contributor guide

Open the contributing guide

Research direction

Start at the GitHub Action's App Runner stable-state wait handling and trace how the reached state is exposed to later steps. Reproduce a deployment reaching CREATE_FAILED, then verify that the final output identifies the reached state and that workflow users can distinguish a failed deployment from a successful one.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github-actions, typescript
Domain
ci-cd, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.