Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Aug 19, 2024
1 parent 417f986 commit 38f260f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deployment/modules/gcp/example-gcp/main.tf
Original file line number Diff line number Diff line change
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

0 comments on commit 38f260f

Please sign in to comment.