Skip to content

Commit

Permalink
WIP: Disable allUsers invoker role for event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Mar 4, 2025
1 parent 8dce9e3 commit 483e169
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions iam_functions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resource "google_cloud_run_service_iam_member" "event_handler_invoker" {
service = google_cloudfunctions2_function.event_handler.name
location = google_cloudfunctions2_function.event_handler.location
role = "roles/run.invoker"
member = "allUsers"
depends_on = [time_sleep.wait_for_google_apis_to_enable]
}
# resource "google_cloud_run_service_iam_member" "event_handler_invoker" {
# service = google_cloudfunctions2_function.event_handler.name
# location = google_cloudfunctions2_function.event_handler.location
# role = "roles/run.invoker"
# member = "allUsers"
# depends_on = [time_sleep.wait_for_google_apis_to_enable]
# }


resource "google_cloud_run_service_iam_member" "service_registry_invoker" {
Expand Down

0 comments on commit 483e169

Please # to comment.