changed structure and added drone ci

This commit is contained in:
2023-10-27 11:01:13 +02:00
parent d12d8f1e4d
commit 0ed46a355e
25 changed files with 239 additions and 1994 deletions

32
infrastructure/main.tf Normal file
View File

@@ -0,0 +1,32 @@
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.33"
}
}
backend "s3" {
bucket = "terraform-remote-state"
key = "terraform.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
}
}