google_cloudfunctions2_function_iam_policy

Retrieves the current IAM policy data for function

example

data "google_cloudfunctions2_function_iam_policy" "policy" {
  project = google_cloudfunctions2_function.function.project
  location = google_cloudfunctions2_function.function.location
  cloud_function = google_cloudfunctions2_function.function.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The attributes are exported: