Skip to content

Commit

Permalink
docs: updated the language for the hcp_consul_cluster resource (#176)
Browse files Browse the repository at this point in the history
* docs: updated the language for the hcp_consul_cluster resource

* docs: corrected the documenatation location for the updates
  • Loading branch information
mrspanishviking authored Aug 3, 2021
1 parent 48165d0 commit 2e0513d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/consul_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "hcp_consul_cluster" "example" {

### Optional

- **auto_hvn_to_hvn_peering** (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation.
- **auto_hvn_to_hvn_peering** (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an [`hcp_hvn_peering_connection`](hvn_peering_connection.md) resource that explicitly defines the HVN resources that are allowed to communicate with each other.
- **connect_enabled** (Boolean) Denotes the Consul connect feature should be enabled for this cluster. Default to true.
- **datacenter** (String) The Consul data center name of the cluster. If not specified, it is defaulted to the value of `cluster_id`.
- **id** (String) The ID of this resource.
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_consul_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func resourceConsulCluster() *schema.Resource {
},
},
"auto_hvn_to_hvn_peering": {
Description: "Enables automatic HVN to HVN peering when creating a secondary cluster in a federation.",
Description: "Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an [`hcp_hvn_peering_connection`](hvn_peering_connection.md) resource that explicitly defines the HVN resources that are allowed to communicate with each other.",
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Expand Down

0 comments on commit 2e0513d

Please sign in to comment.