add http backend

This commit is contained in:
pyrschtjag committed 2026-10-02 22:01:44 +04:00
1 parent e514045103
commit f3959cf2c6
2 files changed
+11 -9

No files matched your search

+6 -9
View File
@@ -5,16 +5,13 @@ terraform {
version = "0.114.0"
}
}
backend "local" {
path = "terraform.tfstate"
backend "http" {
address = "https://gitea.oyacoi.ru/api/packages/pyrschtjag/terraform/state/runner"
lock_address = "https://gitea.oyacoi.ru/api/packages/pyrschtjag/terraform/state/runner/lock"
unlock_address = "https://gitea.oyacoi.ru/api/packages/pyrschtjag/terraform/state/runner/lock"
lock_method = "POST"
unlock_method = "DELETE"
}
# backend "http" {
# address = "http://10.1.0.104:3000/api/packages/pyrschtjag/terraform/state/runner"
# lock_address = "http://10.1.0.104:3000/api/packages/pyrschtjag/terraform/state/runner/lock"
# unlock_address = "http://10.1.0.104:3000/api/packages/pyrschtjag/terraform/state/runner/lock"
# lock_method = "POST"
# unlock_method = "DELETE"
# }
}
provider "proxmox" {