Skip to content

Add support for backup HVNs (DR) to hcp_vault_cluster #1274

@nphilbrook

Description

@nphilbrook

Description

The creation of an HCP Vault cluster with a backup HVN for DR is not possible via the provider
https://developer.hashicorp.com/vault/tutorials/get-started-hcp-vault-dedicated/manage-clusters#create-cluster-with-cross-region-dr

New or Affected Resource(s)

  • hcp_vault_cluster

Potential Terraform Configuration

resource "hcp_vault_cluster" "cluster" {
  cluster_id    = "vault-cluster"
  hvn_id        = hcp_hvn.hvn.hvn_id
  backup_hvn_id = hcp_hvn.hvn_dr.hvn_id
  tier          = "standard_large"
  major_version_upgrade_config {
    upgrade_type = "MANUAL"
  }
  lifecycle {
    prevent_destroy = true
  }
}

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions