35 lines
698 B
HCL
35 lines
698 B
HCL
# docs: https://registry.terraform.io/providers/bpg/proxmox/latest/docs
|
|
|
|
terraform {
|
|
required_providers {
|
|
proxmox = {
|
|
source = "bpg/proxmox"
|
|
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" {
|
|
insecure = true
|
|
tmp_dir = "/var/tmp"
|
|
ssh {
|
|
agent = true
|
|
username = "robo"
|
|
}
|
|
}
|