mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: move from terraform to opentofu. hashicorp sucks
This commit is contained in:
parent
9a499d2f80
commit
c3f8606e6f
10 changed files with 47 additions and 41 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
#*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue