Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions infra/modules/single_stage_go_workflow/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ resource "google_cloud_run_v2_job_iam_member" "job_status" {
}

resource "google_workflows_workflow" "workflow" {
for_each = module.job.regional_job_map
provider = google.internal_project
name = "${var.env_id}-${var.short_name}-${each.key}"
region = each.key
description = "${var.full_name}. Env id: ${var.env_id}"
service_account = google_service_account.service_account.id
for_each = module.job.regional_job_map
provider = google.internal_project
name = "${var.env_id}-${var.short_name}-${each.key}"
region = each.key
description = "${var.full_name}. Env id: ${var.env_id}"
service_account = google_service_account.service_account.id
deletion_protection = var.deletion_protection
source_contents = templatefile(
"${path.root}/modules/single_stage_go_workflow/workflows.yaml.tftpl",
{
Expand Down
Loading