docs: примеры DNS-зон и записей (карта зон + N зон в цикле)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Переменные примера. 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"
|
||||
}
|
||||
Reference in New Issue
Block a user