feat: add opentofu remote bucket state storage
This commit is contained in:
parent
65a98c6f57
commit
6e72e0ccff
5 changed files with 29 additions and 12 deletions
|
|
@ -7,11 +7,25 @@ terraform {
|
|||
version = "0.43.2"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "opentofu-state"
|
||||
region = "us-east-1"
|
||||
key = "lxc/terraform.tfstate"
|
||||
encrypt = false
|
||||
|
||||
skip_credentials_validation = true
|
||||
skip_region_validation = true
|
||||
skip_requesting_account_id = true
|
||||
skip_s3_checksum = true
|
||||
|
||||
endpoints = {
|
||||
s3 = "https://a7638f5d66d44acc48d4b80b7c3c8a0c.r2.cloudflarestorage.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_api_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = true
|
||||
tmp_dir = "/var/tmp"
|
||||
ssh {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue