Files
tf_provider/PROD_STAND/RABBIT/main.tf
T
“Naeel” 2af2d2af16 chore: registry.kube5s.ru → tf-registry.containerk8s.services.ngcloud.ru
- All code/script/.tf defaults replaced
- Docs annotated with  LEGACY
2026-08-10 11:17:57 +04:00

24 lines
672 B
Terraform

// Фиксируем провайдер и версию, чтобы поведение было стабильным.
terraform {
required_providers {
nubes = {
source = "tf-registry.containerk8s.services.ngcloud.ru/nubes/nubes"
version = "2.1.10"
}
}
}
// Провайдер Nubes для создания ресурсов.
provider "nubes" {
api_token = var.api_token
# ⛔ LEGACY: deck-api ЗАКРЫВАЕТСЯ. Gateway:
api_endpoint = "https://lk-api-gateway.ngcloud.ru/api/v1/svc"
}
// Токен доступа к Nubes API.
variable "api_token" {
type = string
sensitive = true
description = "Nubes API token"
}