32 lines
846 B
Terraform
32 lines
846 B
Terraform
# Переменные примера. api_token — СЕКРЕТ, держать в secrets.auto.tfvars.
|
|
|
|
variable "api_token" {
|
|
description = "Nubes API token (JWT). Секрет — в secrets.auto.tfvars."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "api_endpoint" {
|
|
description = "API Gateway URL стенда"
|
|
type = string
|
|
default = "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc"
|
|
}
|
|
|
|
variable "zone_count" {
|
|
description = "Сколько зон сгенерировать (tfzone-1 … tfzone-N)"
|
|
type = number
|
|
default = 10
|
|
}
|
|
|
|
variable "zone_prefix" {
|
|
description = "Префикс имени зоны"
|
|
type = string
|
|
default = "tfzone"
|
|
}
|
|
|
|
variable "zone_domain" {
|
|
description = "Домен зон (суффикс FQDN)"
|
|
type = string
|
|
default = "test"
|
|
}
|