Skip to content

the inventory API of cloud run failed to start due to Missing or insufficient permissionsΒ #6

@yul88

Description

@yul88

Hang on step 11, the first run of terraform apply. There are no output, but error messages.

β”‚ Error: Error waiting to create Service: Error waiting for Creating Service: Error code 13, message: Revision 'inventory-00001-958' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8000 environment variable. Logs for this revision might contain more information.
β”‚ 
β”‚ Logs URL: https://console.cloud.google.com/logs/viewer?project=dragon-demo-duetai&resource=cloud_run_revision/service_name/inventory/revision_name/inventory-00001-958&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22inventory%22%0Aresource.labels.revision_name%3D%22inventory-00001-958%22 
β”‚ For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

Not sure which permission is missing. Here is the error detail at cloud run console.
Screenshot 2024-01-04 at 21 19 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions