add TEST_STAND/kuber — vcOrg only

This commit is contained in:
“Naeel”
2026-07-08 19:09:15 +04:00
parent 5322df7c51
commit fefabd448a
3 changed files with 37 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Secrets
terraform.tfvars
# Terraform state and cache
.terraform/
.terraform.lock.hcl
terraform.tfstate
terraform.tfstate.backup
+25
View File
@@ -0,0 +1,25 @@
terraform {
required_providers {
nubes = {
source = "terra.k8c.ru/nubes-test/nubes"
version = "5.0.64"
}
}
}
variable "api_token" {
type = string
sensitive = true
description = "Nubes API token"
}
variable "realm" {
type = string
sensitive = true
description = "resource_realm parameter for nubes_vc_org resource"
}
provider "nubes" {
api_token = var.api_token
api_endpoint = "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc"
# log_level = "debug" # none | info | debug, default = "none"
}
+4
View File
@@ -0,0 +1,4 @@
resource "nubes_vc_org" "org" {
resource_name = "kc-org-tf"
resource_realm = var.realm
}