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.
resource "hcp_consul_cluster_root_token" "example" {
cluster_id = "consul-cluster"
}
cluster_id
(String) The ID of the HCP Consul cluster.project_id
(String) The ID of the HCP project where the HCP Consul cluster is located.
If not specified, the project specified in the HCP Provider config block will be used, if configured.
If a project is not configured in the HCP Provider config block, the oldest project in the organization will be used.timeouts
(Block, Optional) (see below for nested schema)accessor_id
(String) The accessor ID of the root ACL token.id
(String) The ID of this resource.kubernetes_secret
(String, Sensitive) The root ACL token Base64 encoded in a Kubernetes secret.secret_id
(String, Sensitive) The secret ID of the root ACL token.timeouts
Optional:
default
(String)