GCP Dynamic Provider Credentials
Was this helpful?
Was this helpful?
terraform {
cloud {
organization = "terrakube_organization_name"
hostname = "terrakube-api.mydomain.com"
workspaces {
name = "terrakube_workspace_name"
}
}
}
provider "google" {
project = "my-gcp-project"
region = "us-central1"
zone = "us-central1-c"
}
resource "google_storage_bucket" "auto-expire" {
name = "mysuperbukcetname"
location = "US"
force_destroy = true
public_access_prevention = "enforced"
}