I’m trying to deploy the serverless framework using Google Cloud Build (and Python Cloud Functions).
The serverless.yml file requires an absolute path a credentials file. This works fine for local development and deployment.
However, for Cloud Build deployment I believe the preferred method of authentication is to use a service account which is automatically authenticated without the use of a PK. The only way around this, assuming you don’t want to store your PK within source code, appears to be to download a PK within Cloud Build and place it in the desired directory.
Could anyone confirm if they have found another way around this or if they know if it possible to authenticate using services accounts and serverless?
Thanks