- HOWTO_IMPLEMENT_NEW_CLOUD_SERVICE.md: rules for implementing new managed services (naming, params, map-fixed blocks, operations, subresources, validation, checklist) - HOWTO_ADD_NEW_SERVICE.md: how to add service to terraform provider pipeline - TEST_STAND/*/main.tf: version 5.0.57, api_endpoint -> lk-api-gateway-test - TEST_STAND/POSTGRES/resources.tf: rewritten for new map-fixed param structure
32 lines
663 B
Terraform
32 lines
663 B
Terraform
terraform {
|
|
required_providers {
|
|
nubes = {
|
|
source = "terra.k8c.ru/nubes-test/nubes"
|
|
version = "5.0.57"
|
|
}
|
|
}
|
|
}
|
|
|
|
variable "api_token" {
|
|
type = string
|
|
sensitive = true
|
|
description = "Nubes API token"
|
|
}
|
|
variable "s3_uid" {
|
|
type = string
|
|
sensitive = true
|
|
description = "Nubes S3 UID"
|
|
}
|
|
variable "realm" {
|
|
type = string
|
|
sensitive = true
|
|
description = "resource_realm parameter for nubes_postgres 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"
|
|
}
|
|
|