Apprunner showing Must be a valid ECR image URI.

0

Hello

I have an apprunner that is working perfectly and every week we deploy a new image on that AppRunner. And today we created a docker image and tested it in local environment and uploaded it to ECR and tried to deploy that image on AppRunner. Now when I change Container image URI in Apprunner it shows me the error "Must be a valid ECR image URI" I have also added **Container image URI **using the Browse segment, But facing the same error.

I have checked the Docker image is built properly and working in the local environment.

Please help me out with this

Enter image description here

Dhruv
gefragt vor 4 Monaten234 Aufrufe
3 Antworten
1

Hi,

Can you take a look at the events in CloudTrail and check if during creation/deployment of your service App Runner tries to assume the role AppRunnerECRAccessRole. If STS is not enaable, it will fail due to with exception STS is not activated in this region" ?

If that is the case, activate STS according to https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html#sts-regions-activate-deactivate.

Best,

Didier

profile pictureAWS
EXPERTE
beantwortet vor 4 Monaten
  • Hello

    Well I have checked the issue is with ECR name My ECR repo :- <account-ID>.dkr.ecr.us-east-1.amazonaws.com/app/dev:<Tag>

    the extra "/" after app is an issue when I removed the slash and deployed its work.

  • Ok, i'll go with your solution and see if it's deploying or not.

  • enabling STS for all endpoints did nothing to remedy this issue

0

Hello

Well I have checked the issue is with ECR name My ECR repo :- <account-ID>.dkr.ecr.us-east-1.amazonaws.com/app/dev:<Tag>

the extra "/" after app is an issue when I removed the slash and deployed its work.

THIS IS AN ISSUE.

Dhruv
beantwortet vor 4 Monaten
0

I have the same Issue - I can not create or update AppRunner Deployments with images that contain forward slashes in their name - as shown in the example above. this has worked previously!

beantwortet vor 4 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen