Files
tf_provider/PROD_STAND/PG1/main.tf
T
Repinoid 106ddbe092 stand: switch every stand to actual provider versions (prod=1.0.0, dev=2.0.0, test=3.0.0)
Легаси-версии (5.0.x/5.1.x/3.1.x/2.1.x) в реестре отсутствуют (404), стенды не могли
пройти terraform init. Приведены к новой схеме нумерации от 2026-09-03.

- DEV  (nubes-dev):  CRUD, POSTGRES, SHTURVAL_MGMT -> 2.0.0
- TEST (nubes-test): CRUD, PG, POSTGRES, MARIA_DB, buck0, kuber, IOT_RMQ_DEMO -> 3.0.0
                     (DEV_STAND/IOT_KAFKA_DEMO тоже nubes-test -> 3.0.0)
- PROD (nubes):      PG1, POSTGRES, RABBIT -> 1.0.0
- README стендов TEST_STAND/buck0, TEST_STAND/PG: версии приведены к 3.0.0
- getting-started: убрана versioned-ссылка на доки (2.1.7) -> актуальный домен без версии
- .gitignore: откатано правило TMP/ (на remote TMP/init-test-*/main.tf трекаются)
2026-09-16 16:34:40 +03:00

27 lines
550 B
Terraform

terraform {
required_providers {
nubes = {
source = "tf-registry.containerk8s.services.ngcloud.ru/nubes/nubes"
version = "1.0.0"
}
}
}
variable "api_token" {
type = string
sensitive = true
description = "Nubes API token"
}
# variable "s3_uid" {
# type = string
# sensitive = true
# description = "S3 Storage UUID"
# }
provider "nubes" {
api_token = var.api_token
# ⛔ LEGACY: deck-api ЗАКРЫВАЕТСЯ. Gateway:
api_endpoint = "https://lk-api-gateway.ngcloud.ru/api/v1/svc"
}