From 5b6d6dbf8b85b357e7a31da973cdd493cf6c5d0e Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Fri, 16 Aug 2024 13:14:58 +0100 Subject: [PATCH] Enable CloudRun API --- deployment/modules/example-gcp/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ###