package
1.0.1
Repository: https://github.com/terramate-io/opentofulib.git
Documentation: pkg.go.dev

# Functions

DecodeConfig takes a hcl.Body and decodes it into a Config struct.
LoadConfigFromString loads a configuration from a string.
MergeConfigs merges two Configs together, with the override taking precedence.

# Structs

EncryptionConfig describes the terraform.encryption HCL block you can use to configure the state and plan encryption.
EnforcableTargetConfig is an extension of the TargetConfig that supports the enforced form.
KeyProviderConfig describes the terraform.encryption.key_provider.* block you can use to declare a key provider for encryption.
MethodConfig describes the terraform.encryption.method.* block you can use to declare the encryption method.
NamedTargetConfig is an extension of the TargetConfig that describes a terraform.encryption.remote.remote_state_data.* block.
RemoteConfig describes the terraform.encryption.remote block you can use to declare encryption for remote state data sources.
TargetConfig describes the target.encryption.state, target.encryption.plan, etc blocks.