Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update resource_consul_cluster_root_token.go #241

Merged
merged 3 commits into from
Jan 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/resources/consul_cluster_root_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
page_title: "hcp_consul_cluster_root_token Resource - terraform-provider-hcp"
subcategory: ""
description: |-
The cluster root token resource is the token used to bootstrap the cluster's ACL system. Using this resource to create a new root token for a cluster will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster.
The cluster root token resource is the token used to bootstrap the cluster's ACL system. You can also generate this root token from the HCP Consul UI.
---

# hcp_consul_cluster_root_token (Resource)

~> **Security Notice:** Please see this [list of recommendations](https://www.terraform.io/docs/language/state/sensitive-data.html) for storing sensitive information in Terraform.

The cluster root token resource is the token used to bootstrap the cluster's ACL system. Using this resource to create a new root token for a cluster will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster.
The cluster root token resource is the token used to bootstrap the cluster's ACL system. You can also generate this root token from the HCP Consul UI.

## Example Usage

Expand Down
4 changes: 2 additions & 2 deletions internal/provider/resource_consul_cluster_root_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ data:
// resourceConsulClusterRootToken represents an HCP Consul cluster.
func resourceConsulClusterRootToken() *schema.Resource {
return &schema.Resource{
Description: "The cluster root token resource is the token used to bootstrap the cluster's ACL system." +
" Using this resource to create a new root token for a cluster will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster.",
Description: "The cluster root token resource is the token used to bootstrap the cluster's ACL system. " +
"You can also generate this root token from the HCP Consul UI.",
CreateContext: resourceConsulClusterRootTokenCreate,
ReadContext: resourceConsulClusterRootTokenRead,
DeleteContext: resourceConsulClusterRootTokenDelete,
Expand Down