cloudrun/No Permission For Image Step

Checks if Cloud Run service agent can fetch the image.

Product: Cloud Run
Step Type: AUTOMATED STEP

Description

This step will check if the error is present and link to additional troubleshooting steps.

Failure Reason

Cloud Run Service agent {sa} does not have permissions to read image {image}.

Failure Remediation

Please make sure that {sa} has roles/storage.objectViewer role if the image is stored in Container Registry or roles/artifactregistry.reader if in Artifact Registry. Please note that the role needs to be granted in the project where the image is stored.