This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/terraform.tf
Matthew Baggett 661aa57a3c
Some checks failed
Trunk Cache / Trunk Cache (push) Failing after 2s
Trunk Upgrade / Upgrade Trunk (push) Failing after 1s
Trunk Check / Trunk Check Runner (push) Failing after 1s
Start proxmox experiment
2024-08-24 03:36:29 +02:00

42 lines
1.2 KiB
HCL

terraform {
required_version = "~> 1.6"
required_providers {
docker = {
source = "kreuzwerker/docker"
version = "~>3.0"
}
random = {
source = "hashicorp/random"
version = "~>3.3"
}
ssh = {
source = "matthewbaggett/ssh"
version = "~> 0.1.0"
}
scratch = {
source = "BrendanThompson/scratch"
version = "~> 0.4"
}
proxmox = {
source = "Telmate/proxmox"
version = "~> 2.9"
}
}
backend "s3" {
bucket = "terraform"
key = "ti-iac.tfstate"
profile = "techinc-tf"
shared_credentials_files = ["~/.aws/credentials"]
endpoints = {
s3 = "http://california.ti:9000"
}
region = "main" # Region validation will be skipped
skip_credentials_validation = true # Skip AWS related checks and validations
skip_requesting_account_id = true
skip_metadata_api_check = true
skip_region_validation = true
use_path_style = true # Enable path-style S3 URLs (https://<HOST>/<BUCKET> https://developer.hashicorp.com/terraform/language/settings/backends/s3#use_path_style
}
}