Migrated to S3 for tfstate file

This commit is contained in:
2026-07-04 17:17:36 +02:00
parent bb54bfdbf4
commit 3f2c674cd9
5 changed files with 60 additions and 13 deletions

View File

@@ -1,7 +1,22 @@
terraform {
backend "s3" {
bucket = "tofu-state-proxmox"
endpoint = "https://eu-central-2.storage.impossibleapi.net"
key = "terraform.tfstate"
region = "eu-central-2"
# use_lockfile = true # ImpossibleCloud doesn't support the required conditional PUT headers
skip_region_validation = true
skip_credentials_validation = true
skip_requesting_account_id = true
skip_s3_checksum = true
use_path_style = true
}
required_providers {
proxmox = {
source = "bpg/proxmox"
source = "bpg/proxmox"
version = "0.108.0"
}
}