google_project_iam_policy
Retrieves the current IAM policy data for a project.
data "google_project_iam_policy" "policy" {
project = "myproject"
}
The following arguments are supported:
project
- (Required) The project id of the target project. This is not
inferred from the provider.The attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Computed) The policy data