google_compute_subnetwork_iam_policy

Retrieves the current IAM policy data for subnetwork

example

data "google_compute_subnetwork_iam_policy" "policy" {
  project = google_compute_subnetwork.network-with-private-secondary-ip-ranges.project
  region = google_compute_subnetwork.network-with-private-secondary-ip-ranges.region
  subnetwork = google_compute_subnetwork.network-with-private-secondary-ip-ranges.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The attributes are exported: