Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienlegrand committed Nov 14, 2023
1 parent c536cd5 commit 6186d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}
Expand Down Expand Up @@ -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
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 6186d30

Please sign in to comment.