mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
allow static evaluations in encryption configuration (#1728)
Signed-off-by: ollevche <ollevche@gmail.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com> Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8f8e0aa4aa
commit
19b5287b8f
@@ -1,8 +1,17 @@
|
||||
variable "passphrase" {
|
||||
type = string
|
||||
default = "aaaaaaaa-83f1-47ec-9b2d-2aebf6417167"
|
||||
}
|
||||
|
||||
locals {
|
||||
key_length = 32
|
||||
}
|
||||
|
||||
terraform {
|
||||
encryption {
|
||||
key_provider "pbkdf2" "basic" {
|
||||
passphrase = "aaaaaaaa-83f1-47ec-9b2d-2aebf6417167"
|
||||
key_length = 32
|
||||
passphrase = var.passphrase
|
||||
key_length = local.key_length
|
||||
iterations = 200000
|
||||
hash_function = "sha512"
|
||||
salt_length = 12
|
||||
|
||||
Reference in New Issue
Block a user