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
Retrieves the details of a GKE Hub Membership Binding.
5
+
---
6
+
7
+
# `google_gke_hub_membership_binding`
8
+
9
+
Retrieves the details of a specific GKE Hub Membership Binding. Use this data source to retrieve the membership binding's configuration and state.
10
+
11
+
A membership binding associates a GKE Hub membership with a scope, enabling the membership to participate in fleet-wide configurations and policies defined by the scope.
12
+
13
+
## Example Usage
14
+
15
+
```
16
+
data "google_gke_hub_membership_binding" "example" {
*`membership_binding_id` - (Required) The ID of the membership binding.
29
+
30
+
*`membership_id` - (Required) The ID of the membership that this binding applies to.
31
+
32
+
*`location` - (Required) The location for the GKE Hub Membership Binding.
33
+
Currently only `global` is supported.
34
+
35
+
*`project` - (Optional) The ID of the project in which the resource belongs.
36
+
If it is not provided, the provider project is used.
37
+
38
+
## Attributes Reference
39
+
40
+
See [google_gke_hub_membership_binding](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/gke_hub_membership_binding) resource for details of the available attributes.
0 commit comments