From b613e5dff8b08e64faf06e15d93368dfa92b2041 Mon Sep 17 00:00:00 2001 From: ogrechko Date: Wed, 6 May 2026 10:40:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20terraform/vmware/variables.tf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- terraform/vmware/variables.tf | 87 +++++++++++++++++++++++++++-------- 1 file changed, 68 insertions(+), 19 deletions(-) diff --git a/terraform/vmware/variables.tf b/terraform/vmware/variables.tf index 828042e..d3f72dd 100644 --- a/terraform/vmware/variables.tf +++ b/terraform/vmware/variables.tf @@ -1,21 +1,70 @@ -# --- Скрытые переменные (из Environment Semaphore) --- -variable "vsphere_user" { type = string, sensitive = true } -variable "vsphere_password" { type = string, sensitive = true } -variable "vsphere_server" { type = string } -variable "admin_password" { type = string, sensitive = true } +variable "vsphere_user" { + type = string + sensitive = true +} -variable "vsphere_datacenter" { type = string } -variable "vsphere_network" { type = string } -variable "vm_template" { type = string } +variable "vsphere_password" { + type = string + sensitive = true +} -# --- Переменные из Формы (Survey) в Semaphore --- -variable "vm_name" { type = string } -variable "vsphere_cluster" { type = string } -variable "vsphere_datastore" { type = string } -variable "vm_cpu" { type = number } -variable "vm_ram" { type = number } -variable "vm_disk_size" { type = number } -variable "vm_ip" { type = string } -variable "vm_netmask" { type = number } -variable "vm_gateway" { type = string } -variable "primary_dns" { type = string } \ No newline at end of file +variable "vsphere_server" { + type = string +} + +variable "admin_password" { + type = string + sensitive = true +} + +variable "vsphere_datacenter" { + type = string +} + +variable "vsphere_network" { + type = string +} + +variable "vm_template" { + type = string +} + +variable "vm_name" { + type = string +} + +variable "vsphere_cluster" { + type = string +} + +variable "vsphere_datastore" { + type = string +} + +variable "vm_cpu" { + type = number +} + +variable "vm_ram" { + type = number +} + +variable "vm_disk_size" { + type = number +} + +variable "vm_ip" { + type = string +} + +variable "vm_netmask" { + type = number +} + +variable "vm_gateway" { + type = string +} + +variable "primary_dns" { + type = string +}