Skip to content
Snippets Groups Projects

GONRG-5304: update IAM for cloud function

Merged Yauheni Rykhter (EPAM) requested to merge GONRG-5304-update-cloud-function into master
All threads resolved!
@@ -33,3 +33,12 @@ data "archive_file" "postman_cloud_function" {
output_file_mode = "0666"
output_path = "${path.module}/files/postman/postman_cloud_function.zip"
}
resource "google_cloudfunctions_function_iam_member" "invoker" {
project = google_cloudfunctions_function.postman_function.project
region = google_cloudfunctions_function.postman_function.region
cloud_function = google_cloudfunctions_function.postman_function.name
role = "roles/cloudfunctions.invoker"
member = "allUsers"
}
Loading