Skip to content

Commit

Permalink
add documentation for gke_hub_feature: Anthos Service Mesh (#6080) (#…
Browse files Browse the repository at this point in the history
…11828)

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jun 3, 2022
1 parent 470d437 commit f14c3a9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .changelog/6080.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
31 changes: 21 additions & 10 deletions website/docs/r/gke_hub_feature.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ resource "google_gke_hub_feature" "feature" {
}
```

## Example Usage - Enable Anthos Service Mesh

```hcl
resource "google_gke_hub_feature" "feature" {
provider = google-beta
name = "servicemesh"
location = "global"
}
```

## Argument Reference

The following arguments are supported:
Expand All @@ -76,31 +87,31 @@ The following arguments are supported:
* `labels` -
(Optional)
GCP labels for this Feature.

* `name` -
(Optional)
The full, unique name of this Feature resource

* `project` -
(Optional)
The project for the resource

* `spec` -
(Optional)
Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.


The `spec` block supports:

* `multiclusteringress` -
(Optional)
Multicluster Ingress-specific spec.
The `multiclusteringress` block supports:

* `config_membership` -
(Optional)
Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`

## Attributes Reference

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

* `create_time` -
Output only. When the Feature resource was created.

* `delete_time` -
Output only. When the Feature resource was deleted.

* `update_time` -
Output only. When the Feature resource was last updated.

## Timeouts

This resource provides the following
Expand Down

0 comments on commit f14c3a9

Please sign in to comment.