blob: 3cb24cbf84366b00245bcb3952bd1edeca592ced [file] [edit]
terraform {
encryption {
key_provider "pbkdf2" "basic" {
passphrase = var.passphrase
key_length = local.key_length
iterations = 200000
hash_function = "sha512"
salt_length = 12
}
method "aes_gcm" "example" {
keys = key_provider.pbkdf2.basic
}
state {
method = method.aes_gcm.example
}
plan {
method = method.aes_gcm.example
}
}
}