From 6186d30adeff7a9f0a252974d7af57847d564d14 Mon Sep 17 00:00:00 2001 From: "aurelien.legrand01@gmail.com" Date: Tue, 14 Nov 2023 14:38:59 +0100 Subject: [PATCH] formatting --- .../network-dashboard/deploy-cloud-function/main.tf | 6 +++--- .../network-dashboard/deploy-cloud-function/outputs.tf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/main.tf b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/main.tf index 8bf63fcd36..8a0c3e7382 100644 --- a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/main.tf +++ b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/main.tf @@ -164,12 +164,12 @@ module "cloud-function-v2" { } module "cloud-scheduler-service-account" { - count = var.cloud_function_config.version == "v2" ? 1 : 0 + count = var.cloud_function_config.version == "v2" ? 1 : 0 source = "../../../../modules/iam-service-account" project_id = module.project.project_id name = "scheduler-sa" iam_project_roles = { - "${module.project.project_id}" = [ + "${module.project.project_id}" = [ "roles/run.invoker", ] } @@ -206,7 +206,7 @@ resource "google_cloud_scheduler_job" "scheduler-http" { } oidc_token { service_account_email = module.cloud-scheduler-service-account.0.email - audience = module.cloud-function-v2.0.uri + audience = module.cloud-function-v2.0.uri } } } diff --git a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/outputs.tf b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/outputs.tf index 3a5935695a..34a615612e 100644 --- a/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/outputs.tf +++ b/blueprints/cloud-operations/network-dashboard/deploy-cloud-function/outputs.tf @@ -16,7 +16,7 @@ output "bucket" { description = "Cloud Function deployment bucket resource." - value = var.cloud_function_config.version == "v1" ? module.cloud-function.0.bucket : module.cloud-function-v2.0.bucket + value = var.cloud_function_config.version == "v1" ? module.cloud-function.0.bucket : module.cloud-function-v2.0.bucket } output "project_id" {