feat: move from terraform to opentofu. hashicorp sucks

This commit is contained in:
Kat Inskip 2025-10-12 06:32:17 -07:00
parent 9a499d2f80
commit c3f8606e6f
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
10 changed files with 47 additions and 41 deletions

View file

@ -1,3 +1,7 @@
variable "passphrase" {
sensitive = true
}
terraform {
required_providers {
# Vendor: Hashicorp
@ -23,28 +27,23 @@ terraform {
version = "4.4.0"
}
}
encryption {
method "unencrypted" "migrate" {}
/*
# Settings for local applies
backend "remote" {
hostname = "app.terraform.io"
organization = "kittywitch"
workspaces {
name = "nixfiles"
key_provider "pbkdf2" "kw" {
passphrase = var.passphrase
}
method "aes_gcm" "kw" {
keys = key_provider.pbkdf2.kw
}
state {
method = method.aes_gcm.kw
fallback {
method = method.unencrypted.migrate
}
}
}
*/
#/*
# Settings for remote applies
cloud {
organization = "kittywitch"
## Required for Terraform Enterprise; Defaults to app.terraform.io for Terraform Cloud
hostname = "app.terraform.io"
workspaces {
name = "nixfiles"
}
}
#*/
}