Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Aug 19, 2024
1 parent 7356cf4 commit 5e05e32
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 34 deletions.
25 changes: 0 additions & 25 deletions deployment/live/example-gcp/terragrunt.hcl

This file was deleted.

2 changes: 1 addition & 1 deletion deployment/live/gcp/example-gcp/ci/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
source = "${get_repo_root()}/deployment/modules//example-gcp"
source = "${get_repo_root()}/deployment/modules/gcp//example-gcp"
}

include "root" {
Expand Down
2 changes: 1 addition & 1 deletion deployment/live/gcp/example-gcp/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
source = "${get_repo_root()}/deployment/modules//gcp/example-gcp"
source = "${get_repo_root()}/deployment/modules/gcp//example-gcp"
}

locals {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ terraform {
## Call the Tessera GCP module
##
## This will configure all the storage infrastructure required to run a Tessera log on GCP.
module "gcp" {
source = "..//gcp"
module "gcs" {
source = "..//gcs"

base_name = var.base_name
env = var.env
Expand Down Expand Up @@ -40,8 +40,8 @@ resource "google_project_iam_member" "iam_metrics_writer" {
}
resource "google_spanner_database_iam_binding" "iam_spanner_database_user" {
project = var.project_id
instance = module.gcp.log_spanner_instance.name
database = module.gcp.log_spanner_db.name
instance = module.gcs.log_spanner_instance.name
database = module.gcs.log_spanner_db.name
role = "roles/spanner.databaseUser"

members = [
Expand All @@ -67,8 +67,8 @@ resource "google_cloud_run_v2_service" "default" {
args = [
"--logtostderr",
"--v=1",
"--bucket=${module.gcp.log_bucket.id}",
"--spanner=${module.gcp.log_spanner_db.id}",
"--bucket=${module.gcs.log_bucket.id}",
"--spanner=${module.gcs.log_spanner_db.id}",
"--project=${var.project_id}",
"--signer=./testgcp.sec",
]
Expand All @@ -94,7 +94,7 @@ resource "google_cloud_run_v2_service" "default" {
}
client = "terraform"
depends_on = [
module.gcp,
module.gcs,
google_project_service.cloudrun_api,
google_project_iam_member.iam_act_as,
google_project_iam_member.iam_metrics_writer,
Expand Down
File renamed without changes.

0 comments on commit 5e05e32

Please sign in to comment.