Migrated to S3 for tfstate file
This commit is contained in:
17
versions.tf
17
versions.tf
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user