Get a spanner instance from Google Cloud by its name.
data "google_spanner_instance" "foo" {
name = "bar"
}
The following arguments are supported:
name
- (Required) The name of the spanner instance.project
- (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used.See google_spanner_instance resource for details of all the available attributes.