feat: пример fullpipe_chain (vDC → Edge → внешние IP → SNAT) + README с шагами

This commit is contained in:
Repinoid
2026-09-24 15:21:41 +03:00
parent 2c7c5378a2
commit 6b058051bd
6 changed files with 182 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
terraform {
required_providers {
nubes = {
source = "tf-registry.containerk8s.services.ngcloud.ru/nubes-dev/nubes"
version = "2.0.20"
}
}
}
provider "nubes" {
api_token = var.api_token
api_endpoint = "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc"
}
# --- значения берутся из ЛК (см. README) ---
variable "api_token" {
type = string
sensitive = true
description = "ЛК → Профиль → Токены → «Технический»"
}
variable "organization" {
type = string
description = "Имя организации из ЛК (например: organ)"
}
variable "org_uid" {
type = string
description = "UUID той же организации (нужен ресурсу аллокации IP)"
}
variable "ip_space_name" {
type = string
description = "Имя ipSpace, доступное организации (например: internet-ipv4-v1)"
}
variable "ip_count" {
type = string
default = "3"
description = "Сколько внешних IP выделить (строка)"
}