File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6666 # set IAM policies on public Pub/Sub resources
6767 if [ " $testid " = " False" ]; then
6868 user=" allUsers"
69- roleid=" projects/ ${GOOGLE_CLOUD_PROJECT} / roles/userPublic "
69+ roleid=" roles/pubsub.subscriber "
7070 gcloud pubsub topics add-iam-policy-binding " ${ps_output_topic} " --member=" ${user} " --role=" ${roleid} "
7171 fi
7272
Original file line number Diff line number Diff line change 6666 # set IAM policies on public Pub/Sub resources
6767 if [ " $testid " = " False" ]; then
6868 user=" allUsers"
69- roleid=" projects/ ${GOOGLE_CLOUD_PROJECT} / roles/userPublic "
69+ roleid=" roles/pubsub.subscriber "
7070 gcloud pubsub topics add-iam-policy-binding " ${ps_output_topic} " --member=" ${user} " --role=" ${roleid} "
7171 fi
7272
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ manage_resources() {
148148 # set IAM policies on public Pub/Sub resources
149149 if [ " $testid " = " False" ]; then
150150 user=" allUsers"
151- roleid=" projects/ ${GOOGLE_CLOUD_PROJECT} / roles/userPublic "
151+ roleid=" roles/pubsub.subscriber "
152152 gcloud pubsub topics add-iam-policy-binding " ${ps_topic_alerts} " --member=" ${user} " --role=" ${roleid} "
153153 gcloud pubsub topics add-iam-policy-binding " ${ps_topic_alerts_json} " --member=" ${user} " --role=" ${roleid} "
154154 gcloud pubsub topics add-iam-policy-binding " ${ps_topic_alerts_lite} " --member=" ${user} " --role=" ${roleid} "
You can’t perform that action at this time.
0 commit comments