mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 10:47:34 -05:00
25 lines
485 B
Bash
25 lines
485 B
Bash
TF_ENCRYPTION=$(cat <<EOF
|
|
key_provider "some_key_provider" "some_name" {
|
|
# Key provider options here
|
|
}
|
|
|
|
method "some_method_type" "some_method_name" {
|
|
# Method options here
|
|
keys = key_provider.some_key_provider.some_name
|
|
}
|
|
|
|
state {
|
|
# Encryption/decryption for state data
|
|
method = method.some_method_type.some_method_name
|
|
}
|
|
|
|
plan {
|
|
# Encryption/decryption for plan data
|
|
method = method.some_method_type.some_method_name
|
|
}
|
|
|
|
remote_state_data_sources {
|
|
# See below
|
|
}
|
|
EOF)
|