google_service_account_iam_policy
Retrieves the current IAM policy data for a service account.
data "google_service_account_iam_policy" "foo" {
service_account_id = google_service_account.test_account.name
}
The following arguments are supported:
service_account_id
- (Required) The fully-qualified name of the service account to apply policy to.The attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Computed) The policy data