homelab/terraform/vault/main.tf

16 lines
199 B
Terraform
Raw Normal View History

2022-07-15 12:06:31 +00:00
terraform {
backend "consul" {
path = "terraform/vault"
}
}
provider vault {
}
resource "vault_mount" "kvv2-secret" {
path = "secrets"
type = "kv"
options = {
version = "2"
}
}