hcs_cluster_root_token (Resource)

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 an cluster resource will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster.

Example Usage

// Note: creating a new root token for an hcs_cluster resource will invalidate the
// consul_root_token_accessor_id and consul_root_token_secret_id properties of the
// cluster.
resource "hcs_root_token" "new_token" {
  resource_group_name      = var.resource_group_name
  managed_application_name = var.managed_application_name
}

Schema

Required

Optional

Read-Only

Nested Schema for timeouts

Optional: