This action awaits for a specific status of the AppRunner service or times out, giving you control of the deployment
The account that is provided to the action needs the apprunner:DescribeService
right.
Required AWS Authentication Data.
Required AWS Authentication Data.
Required AWS Authentication Data.
Required AppRunner service ARN.
Required Desired AppRunner service status, validated against official documentation at https://docs.aws.amazon.com/apprunner/latest/api/API_Service.html.
Sleep time between requests to the AWS API in ms. Default and minimum 5000
.
Timeout in ms. 0
means no timeout. Default 30000
.
true
if the desired status wasn't received before the timeout occurred
uses: r4ven1245/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
app-arn: ${{ env.APP_RUNNER_ARN }}
desired-status: 'OPERATION_IN_PROGRESS'
timeout: 15000
After the previous action use succeeds, we can now wait for the successful deployment of the AppRunner service to finish:
uses: r4ven1245/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
app-arn: ${{ env.APP_RUNNER_ARN }}
desired-status: 'RUNNING'
sleep-time: 10000
timeout: 600000