Skip to content

Commit

Permalink
Enable CloudRun API
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Aug 16, 2024
1 parent 9a403af commit 5b6d6db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deployment/modules/example-gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
###
Expand Down

0 comments on commit 5b6d6db

Please sign in to comment.