Files
opentf/internal/command/e2etest/testdata/encryption-flow/migratefrom.tf.disabled
Christian Mesh d7e96665f6 Add unencrypted Method for migrations (#1458)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-12 09:38:21 -04:00

28 lines
614 B
Plaintext

terraform {
encryption {
key_provider "pbkdf2" "basic" {
passphrase = "26281afb-83f1-47ec-9b2d-2aebf6417167"
key_length = 32
iterations = 200000
hash_function = "sha512"
salt_length = 12
}
method "aes_gcm" "example" {
keys = key_provider.pbkdf2.basic
}
method "unencrypted" "fallback" {}
state {
method = method.unencrypted.fallback
fallback {
method = method.aes_gcm.example
}
}
plan {
method = method.unencrypted.fallback
fallback {
method = method.aes_gcm.example
}
}
}
}