google_compute_machine_image_iam_policy

Retrieves the current IAM policy data for machineimage

example

data "google_compute_machine_image_iam_policy" "policy" {
  provider = google-beta
  project = google_compute_machine_image.image.project
  machine_image = google_compute_machine_image.image.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The attributes are exported: