File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
terraform/modules/pipelines Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ resource "google_project_iam_member" "cloud_build_roles" {
2121 member = " serviceAccount:${ google_service_account . cloudbuild_service_account . email } "
2222}
2323
24+ resource "google_cloud_run_service_iam_member" "all_users_invoker" {
25+ project = var. project_id
26+ location = var. region
27+ service = var. service_name
28+
29+ role = " roles/run.invoker"
30+ member = " allUsers"
31+ }
32+
2433resource "google_secret_manager_secret_iam_binding" "secret_manager_binding" {
2534 for_each = toset ([
2635 " roles/secretmanager.secretAccessor" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ variable "cloudbuild_trigger_name" {
33 type = string
44}
55
6+ variable "service_name" {
7+ description = " Name of the Cloud Run service"
8+ type = string
9+ }
10+
611variable "description" {
712 description = " Description of the Cloud Build trigger"
813 type = string
You can’t perform that action at this time.
0 commit comments