Terraform: imported main (7004701) + tools (7076013) into state, destroyed mon (7076015, 188.225.79.34). State: No changes. S3: fix endpoint s3.timeweb.cloud → s3.twcstorage.ru (actual Timeweb endpoint), remove AWS_S3_ACL=private (Timeweb doesn't support per-object ACLs — was causing Outline upload failures). Vault: added vault_timeweb_token. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
794 B
HCL
25 lines
794 B
HCL
# ── Серверы ───────────────────────────────────────────────────────────────────
|
|
|
|
resource "twc_server" "main" {
|
|
name = "VISUAL"
|
|
comment = "Основной: Traefik, Forgejo, Plane, Vaultwarden, Outline, n8n, CI/CD"
|
|
os_id = 99
|
|
preset_id = 2453
|
|
|
|
lifecycle {
|
|
prevent_destroy = true
|
|
ignore_changes = [is_root_password_required]
|
|
}
|
|
}
|
|
|
|
resource "twc_server" "tools" {
|
|
name = "visual-tools"
|
|
comment = "Мониторинг: Grafana, Prometheus, Loki, AlertManager, Uptime Kuma"
|
|
os_id = 99
|
|
preset_id = 2449
|
|
|
|
lifecycle {
|
|
prevent_destroy = true
|
|
ignore_changes = [is_root_password_required]
|
|
}
|
|
}
|