Files
2024-01-14 13:43:08 +01:00

33 lines
727 B
HCL

terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.43.2"
}
}
backend "s3" {
bucket = "tofu-remote-state"
key = "tofu.tfstate"
endpoint = "http://10.20.1.5:9000"
access_key = "GeOhlbqGrL9KS1fZW06C"
secret_key = "PxWWN2KuK7m0GLLfH45sDTB0e4DhrSseL4KfmR8m"
region = "main"
skip_credentials_validation = true
skip_metadata_api_check = true
skip_region_validation = true
force_path_style = true
}
}
provider "proxmox" {
endpoint = var.virtual_environment_endpoint
api_token = var.virtual_environment_api_token
insecure = true
ssh {
agent = true
username = "root"
}
}