refactor: restructure repository into layered IaC architecture (ansible, terraform, kubernetes)
This commit is contained in:
1 parent
d5dfc02889
commit
3c300c0cde
29 files changed
+227
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
terraform {
|
||||
required_version = ">= 1.5.0"
|
||||
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "~> 0.70.0"
|
||||
}
|
||||
}
|
||||
|
||||
# Хранение состояния в Gitea Package Registry (HTTP backend).
|
||||
# При запуске через CI/CD параметры backend передаются через -backend-config
|
||||
backend "http" {}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.proxmox_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = var.proxmox_insecure
|
||||
|
||||
ssh {
|
||||
agent = true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user