GCP Global CloudRun: Installation & Configuration
Installation
The GCP Global CloudRun provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/aws-gcp-global-cloudrun
- Python:
pulumi-gcp-global-cloudrun
- Go:
github.com/pulumi/pulumi-gcp-global-cloudrun/sdk/go/gcp
- .NET:
Pulumi.GcpGlobalCloudRun
Configuration
When developing locally, we recommend that you install the Google Cloud SDK and then authorize access with a user
account. Next, Pulumi requires default application credentials to interact with your Google Cloud
resources, so run auth application-default login
command to obtain those credentials:
$ gcloud auth application-default login
To configure Pulumi to interact with your Google Cloud project, set it with the pulumi config
command using the project’s ID:
$ pulumi config set gcp:project your-gcp-project-id
You may also set your Google Cloud Project via environment variable (listed in order of precedence):
GOOGLE_PROJECT
GOOGLE_CLOUD_PROJECT
GCLOUD_PROJECT
CLOUDSDK_CORE_PROJECT
$ export GOOGLE_PROJECT=your-gcp-project-id
To provision a GCP Global CloudRun Application with this component, you need to have Google Cloud credentials. Use the instructions on the Google Classic Provider’s Installation & Configuration to get credentials if needed.
Your AWS credentials are never sent to pulumi.com. Pulumi uses the GCP SDK and the credentials in your environment to authenticate requests from your computer to Global Cloud.