Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Deploying to Google Cloud App Engine #64

@SamuelAlev

Description

@SamuelAlev

Hello,
I'm deploying my app to GC AE but I got this message :

PHP Notice: Google\Cloud\Core\Exception\GoogleException: Given keyfile path None does not exist in /app/vendor/google/cloud-core/src/ClientTrait.php:133 Stack trace: #0 /app/vendor/google/cloud-core/src/ClientTrait.php(99):

I didn't put any key_file env variable as in authentification point 4 it says :
If running in Google App Engine, the built-in service account associated with the application will be used.

In local everything works perfectly, I use the feature from authentification point 3 (with application_default_credentials.json).

Here is my env vars used in local and on GC AE
GOOGLE_CLOUD_PROJECT_ID: "my-app-id" GOOGLE_CLOUD_STORAGE_BUCKET: "my-app-bucket"

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