google_spanner_instance_iam_policy
Retrieves the current IAM policy data for a Spanner instance.
data "google_spanner_instance_iam_policy" "foo" {
project = google_spanner_instance.instance.project
instance = google_spanner_instance.instance.name
}
The following arguments are supported:
instance
- (Required) The name of the instance.
project
- (Optional) The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.
The attributes are exported:
etag
- (Computed) The etag of the IAM policy.
policy_data
- (Computed) The policy data