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

43 lines
1.2 KiB
Terraform
Raw Normal View History

2024-06-21 13:43:35 +00:00
terraform {
2024-06-28 16:15:00 +00:00
required_version = "~> 1.6"
2024-07-08 15:57:39 +00:00
2024-06-21 13:43:35 +00:00
required_providers {
docker = {
source = "kreuzwerker/docker"
version = "~>3.0"
}
random = {
source = "hashicorp/random"
version = "~>3.3"
}
ssh = {
source = "matthewbaggett/ssh"
version = "~> 0.1.0"
}
2024-07-03 16:26:56 +00:00
scratch = {
2024-07-03 23:10:04 +00:00
source = "BrendanThompson/scratch"
2024-08-24 01:36:29 +00:00
version = "~> 0.4"
2024-07-03 16:26:56 +00:00
}
2024-08-23 21:56:34 +00:00
proxmox = {
source = "Telmate/proxmox"
2024-08-24 01:36:29 +00:00
version = "~> 2.9"
2024-08-23 21:56:34 +00:00
}
2024-06-21 13:43:35 +00:00
}
2024-07-08 15:57:39 +00:00
backend "s3" {
2024-07-08 15:57:53 +00:00
bucket = "terraform"
key = "ti-iac.tfstate"
profile = "techinc-tf"
2024-07-08 15:57:39 +00:00
shared_credentials_files = ["~/.aws/credentials"]
endpoints = {
s3 = "http://california.ti:9000"
}
2024-07-08 15:57:53 +00:00
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
2024-07-08 15:57:39 +00:00
}
2024-06-21 13:43:35 +00:00
}