mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-16 16:01:49 -04:00
27 lines
419 B
HCL
27 lines
419 B
HCL
terraform {
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "5.8"
|
|
}
|
|
}
|
|
|
|
encryption {
|
|
key_provider "pbkdf2" "main" {
|
|
passphrase = var.passphrase
|
|
}
|
|
method "aes_gcm" "main" {
|
|
keys = key_provider.pbkdf2.main
|
|
}
|
|
state {
|
|
method = method.aes_gcm.main
|
|
}
|
|
}
|
|
}
|
|
|
|
variable "passphrase" {
|
|
type = string
|
|
sensitive = true
|
|
default = ""
|
|
}
|