Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions modules/v2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ resource "google_cloud_run_v2_service" "main" {
labels = var.service_labels

deletion_protection = var.cloud_run_deletion_protection
invoker_iam_disabled = var.invoker_iam_disabled

template {
revision = var.revision
Expand Down
6 changes: 6 additions & 0 deletions modules/v2/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ variable "members" {
default = []
}

variable "invoker_iam_disabled" {
type = bool
default = false
description = "Disables IAM permission check for run.routes.invoke for callers of this service. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check. See https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_v2_service#invoker_iam_disabled-1"
}

variable "vpc_access" {
type = object({
connector = optional(string)
Expand Down