add SHTURVAL_MGMT example
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
nubes = {
|
||||
source = "registry.kube5s.ru/nubes-dev/nubes"
|
||||
version = "3.1.13"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
variable "api_token" {
|
||||
type = string
|
||||
sensitive = true
|
||||
description = "Nubes API token"
|
||||
}
|
||||
|
||||
variable "realm" {
|
||||
type = string
|
||||
description = "resource_realm for Штурвал (sandbox.nubes.ru)"
|
||||
}
|
||||
|
||||
variable "sizing_policy" {
|
||||
type = string
|
||||
description = "Control plane sizing policy (зависит от ресурсной платформы)"
|
||||
}
|
||||
|
||||
provider "nubes" {
|
||||
api_token = var.api_token
|
||||
api_endpoint = "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc"
|
||||
}
|
||||
Reference in New Issue
Block a user