dotfiles/terraform/nomad-server/encrypt.tf
main a5a651dbb9
Large rework and cleanup
Signed-off-by: main <magic_rb@redalder.org>
2022-07-31 11:03:59 +02:00

9 lines
205 B
HCL

resource "vault_kv_secret_v2" "encryption_key" {
mount = var.vault_mount.path
name = var.encryption_key_path
delete_all_versions = true
data_json = jsonencode({
key = var.encryption_key
})
}