add TEST_STAND/kuber — vcOrg only
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Secrets
|
||||
terraform.tfvars
|
||||
|
||||
# Terraform state and cache
|
||||
.terraform/
|
||||
.terraform.lock.hcl
|
||||
terraform.tfstate
|
||||
terraform.tfstate.backup
|
||||
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
resource "nubes_vc_org" "org" {
|
||||
resource_name = "kc-org-tf"
|
||||
resource_realm = var.realm
|
||||
}
|
||||
Reference in New Issue
Block a user