mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
9 lines
205 B
Terraform
9 lines
205 B
Terraform
|
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
|
||
|
})
|
||
|
}
|