♻️: store metadata to S3
All checks were successful
terraform-lint / terraform-lint (push) Successful in 4s
All checks were successful
terraform-lint / terraform-lint (push) Successful in 4s
This commit is contained in:
6
main.tf
6
main.tf
@@ -1,9 +1,3 @@
|
||||
terraform {
|
||||
backend "local" {
|
||||
path = "${var.HOME}/Nextcloud/tofu/terraform.tfstate"
|
||||
}
|
||||
}
|
||||
|
||||
module "lxc" {
|
||||
source = "./proxmox_lxc_container"
|
||||
|
||||
|
14
providers.tf
14
providers.tf
@@ -5,6 +5,20 @@ terraform {
|
||||
version = "0.76.0"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "opentofu"
|
||||
region = "garage"
|
||||
key = "homelab/terraform.tfstate"
|
||||
endpoints = {
|
||||
s3 = "https://garage.mateu.be"
|
||||
}
|
||||
use_path_style = true
|
||||
skip_credentials_validation = true
|
||||
skip_region_validation = true
|
||||
skip_requesting_account_id = true
|
||||
skip_metadata_api_check = true
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
|
@@ -1,7 +1,3 @@
|
||||
variable "HOME" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "lxc_containers" {
|
||||
description = "Complete declarative description of a machine"
|
||||
type = map(object({
|
||||
|
Reference in New Issue
Block a user