Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ provider "aws" {
provider "google" {
project = var.gcp_project_id
region = var.gcp_region
# In env0, this file is dropped by the GCP OIDC deployment credential and
# contains an external_account WIF config. Locally it doesn't exist, so we
# fall through to Application Default Credentials (gcloud auth).
credentials = fileexists("${path.root}/env0_credential_configuration.json") ? file("${path.root}/env0_credential_configuration.json") : null
}

# Disable this temporarily during bootstrapping and use `terraform init
Expand Down
Loading