homelab/terraform/vault/main.tf
2023-11-04 21:33:51 +01:00

16 lines
199 B
HCL

terraform {
backend "consul" {
path = "terraform/vault"
}
}
provider vault {
}
resource "vault_mount" "kvv2-secret" {
path = "secrets"
type = "kv"
options = {
version = "2"
}
}