google_storage_bucket_iam_policy
Retrieves the current IAM policy data for bucket
data "google_storage_bucket_iam_policy" "policy" {
bucket = google_storage_bucket.default.name
}
The following arguments are supported:
bucket
- (Required) Used to find the parent resource to bind the IAM policy toThe attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Required only by google_storage_bucket_iam_policy
) The policy data generated by
a google_iam_policy
data source.