diff --git a/deployment/modules/example-gcp/main.tf b/deployment/modules/example-gcp/main.tf index 08023570e..25165b343 100644 --- a/deployment/modules/example-gcp/main.tf +++ b/deployment/modules/example-gcp/main.tf @@ -2,6 +2,9 @@ terraform { backend "gcs" {} } +## Call the Tessera GCP module +## +## This will configure all the storage infrastructure required to run a Tessera log on GCP. module "gcp" { source = "..//gcp" @@ -11,6 +14,12 @@ module "gcp" { project_id = var.project_id } +# Enable Cloud Run API +resource "google_project_service" "cloudrun_api" { + service = "run.googleapis.com" + disable_on_destroy = false +} + ### ### Set up Cloud Run service ###