Skip to content

Commit f14c3a9

Browse files
add documentation for gke_hub_feature: Anthos Service Mesh (#6080) (#11828)
Signed-off-by: Modular Magician <[email protected]>
1 parent 470d437 commit f14c3a9

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

.changelog/6080.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/r/gke_hub_feature.html.markdown

+21-10
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ resource "google_gke_hub_feature" "feature" {
6363
}
6464
```
6565

66+
## Example Usage - Enable Anthos Service Mesh
67+
68+
```hcl
69+
resource "google_gke_hub_feature" "feature" {
70+
provider = google-beta
71+
72+
name = "servicemesh"
73+
location = "global"
74+
}
75+
```
76+
6677
## Argument Reference
6778

6879
The following arguments are supported:
@@ -76,31 +87,31 @@ The following arguments are supported:
7687
* `labels` -
7788
(Optional)
7889
GCP labels for this Feature.
79-
90+
8091
* `name` -
8192
(Optional)
8293
The full, unique name of this Feature resource
83-
94+
8495
* `project` -
8596
(Optional)
8697
The project for the resource
87-
98+
8899
* `spec` -
89100
(Optional)
90101
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.
91-
102+
92103

93104
The `spec` block supports:
94-
105+
95106
* `multiclusteringress` -
96107
(Optional)
97108
Multicluster Ingress-specific spec.
98109
The `multiclusteringress` block supports:
99-
110+
100111
* `config_membership` -
101112
(Optional)
102113
Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
103-
114+
104115
## Attributes Reference
105116

106117
In addition to the arguments listed above, the following computed attributes are exported:
@@ -109,13 +120,13 @@ In addition to the arguments listed above, the following computed attributes are
109120

110121
* `create_time` -
111122
Output only. When the Feature resource was created.
112-
123+
113124
* `delete_time` -
114125
Output only. When the Feature resource was deleted.
115-
126+
116127
* `update_time` -
117128
Output only. When the Feature resource was last updated.
118-
129+
119130
## Timeouts
120131

121132
This resource provides the following

0 commit comments

Comments
 (0)