vault_raft_autopilot_state

Displays the state of the raft cluster under integrated storage as seen by autopilot. It shows whether autopilot thinks the cluster is healthy or not, and how many nodes could fail before the cluster becomes unhealthy ("Failure Tolerance"). For more information, please refer to the Vault documentation.

Example Usage

data "vault_raft_autopilot_state" "main" {}

output "failure-tolerance" {
  value = data.vault_raft_autopilot_state.main.failure_tolerance
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the arguments above, the following attributes are exported: