mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
parent
5c2d39023f
commit
27ed1d8dcd
@ -1,28 +1,24 @@
|
||||
$Env:TF_ENCRYPTION = @"
|
||||
terraform {
|
||||
encryption {
|
||||
key_provider "some_key_provider" "some_name" {
|
||||
# Key provider options here
|
||||
}
|
||||
key_provider "some_key_provider" "some_name" {
|
||||
# Key provider options here
|
||||
}
|
||||
|
||||
method "some_method" "some_method_name" {
|
||||
# Method options here
|
||||
keys = key_provider.some_key_provider.some_name
|
||||
}
|
||||
method "some_method" "some_method_name" {
|
||||
# Method options here
|
||||
keys = key_provider.some_key_provider.some_name
|
||||
}
|
||||
|
||||
state {
|
||||
# Encryption/decryption for state data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
state {
|
||||
# Encryption/decryption for state data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
|
||||
plan {
|
||||
# Encryption/decryption for plan data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
plan {
|
||||
# Encryption/decryption for plan data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
|
||||
remote_state_data_sources {
|
||||
# See below
|
||||
}
|
||||
}
|
||||
remote_state_data_sources {
|
||||
# See below
|
||||
}
|
||||
"@
|
@ -1,28 +1,24 @@
|
||||
TF_ENCRYPTION=$(cat <<EOF
|
||||
terraform {
|
||||
encryption {
|
||||
key_provider "some_key_provider" "some_name" {
|
||||
# Key provider options here
|
||||
}
|
||||
key_provider "some_key_provider" "some_name" {
|
||||
# Key provider options here
|
||||
}
|
||||
|
||||
method "some_method" "some_method_name" {
|
||||
# Method options here
|
||||
keys = key_provider.some_key_provider.some_name
|
||||
}
|
||||
method "some_method" "some_method_name" {
|
||||
# Method options here
|
||||
keys = key_provider.some_key_provider.some_name
|
||||
}
|
||||
|
||||
state {
|
||||
# Encryption/decryption for state data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
state {
|
||||
# Encryption/decryption for state data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
|
||||
plan {
|
||||
# Encryption/decryption for plan data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
plan {
|
||||
# Encryption/decryption for plan data
|
||||
method = method.some_method.some_method_name
|
||||
}
|
||||
|
||||
remote_state_data_sources {
|
||||
# See below
|
||||
}
|
||||
}
|
||||
remote_state_data_sources {
|
||||
# See below
|
||||
}
|
||||
EOF)
|
||||
|
Loading…
Reference in New Issue
Block a user