You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this data source to get information about the available cluster. For more details refer the [API docs](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters).
10
+
11
+
## Example Usage
12
+
13
+
14
+
```hcl
15
+
data "google_alloydb_cluster" "qa" {
16
+
}
17
+
```
18
+
19
+
## Argument Reference
20
+
21
+
The following arguments are supported:
22
+
23
+
*`cluster_id` -
24
+
(Required)
25
+
The ID of the alloydb cluster that the instance belongs to.
26
+
'alloydb_cluster_id'
27
+
28
+
*`project` -
29
+
(optional)
30
+
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
31
+
32
+
*`location` -
33
+
(optional)
34
+
The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
35
+
36
+
## Attributes Reference
37
+
38
+
See [google_alloydb_cluster](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/alloydb_cluster) resource for details of all the available attributes.
0 commit comments