Use AWS equivalent of Google Cloud Run
Find the best AWS equivalent of Google Cloud Run. It should be able to run a Docker container, shutting down when there are no active requests. Deploy the comrun service first, then play-codecheck.
Hi! I will be working on this issue
About your questions:
When you and I did steps, it may be that resources were tagged with two sets of user accounts. Delete all prior resources. Then try to create everything with your user account, and see that the arn all have your user id. In that case, you can then use
ACCOUNT_ID=$(aws sts get-caller-identity --query "Account" --output text)
in the instructions.
With REGION, point readers to the page with the regions that have AppRunner and tell them to set REGION to a specific region if the one returned from REGION=$(aws configure get region) isn't the right one.
You asked about the ECR tags. latest is what is used by Docker locally, so that's fine. But you need to decide: Do you want two ECR repos, each with tag latest, or do you want one, with tags comrun_latest and play-codecheck_latest. Either approach will work.
You need to provide CLI instructions to construct that AppRunnerECRAccessRole. You followed some blog to do that. Once you do that, its arn will be arn:aws:iam::$ACCOUNT_ID:role/service-role/AppRunnerECRAccessRole