33 lines
840 B
Terraform
33 lines
840 B
Terraform
terraform {
|
|
required_providers {
|
|
nubes = {
|
|
source = "tf-registry.containerk8s.services.ngcloud.ru/nubes-test/nubes"
|
|
version = "5.0.68"
|
|
}
|
|
}
|
|
}
|
|
|
|
variable "api_token" {
|
|
type = string
|
|
sensitive = true
|
|
description = "Nubes API token"
|
|
}
|
|
variable "org_uid" {
|
|
type = string
|
|
description = "UUID существующей организации vCloud Director (из ЛК)"
|
|
}
|
|
variable "vdc_uid" {
|
|
type = string
|
|
description = "UUID существующего vDC (из ЛК)"
|
|
}
|
|
variable "edge_uid" {
|
|
type = string
|
|
description = "UUID существующего Edge Gateway (из ЛК)"
|
|
}
|
|
|
|
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"
|
|
}
|