Обновить terraform/vmware/variables.tf
This commit is contained in:
@@ -1,21 +1,70 @@
|
|||||||
# --- Скрытые переменные (из Environment Semaphore) ---
|
variable "vsphere_user" {
|
||||||
variable "vsphere_user" { type = string, sensitive = true }
|
type = string
|
||||||
variable "vsphere_password" { type = string, sensitive = true }
|
sensitive = true
|
||||||
variable "vsphere_server" { type = string }
|
}
|
||||||
variable "admin_password" { type = string, sensitive = true }
|
|
||||||
|
|
||||||
variable "vsphere_datacenter" { type = string }
|
variable "vsphere_password" {
|
||||||
variable "vsphere_network" { type = string }
|
type = string
|
||||||
variable "vm_template" { type = string }
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
||||||
# --- Переменные из Формы (Survey) в Semaphore ---
|
variable "vsphere_server" {
|
||||||
variable "vm_name" { type = string }
|
type = string
|
||||||
variable "vsphere_cluster" { type = string }
|
}
|
||||||
variable "vsphere_datastore" { type = string }
|
|
||||||
variable "vm_cpu" { type = number }
|
variable "admin_password" {
|
||||||
variable "vm_ram" { type = number }
|
type = string
|
||||||
variable "vm_disk_size" { type = number }
|
sensitive = true
|
||||||
variable "vm_ip" { type = string }
|
}
|
||||||
variable "vm_netmask" { type = number }
|
|
||||||
variable "vm_gateway" { type = string }
|
variable "vsphere_datacenter" {
|
||||||
variable "primary_dns" { type = string }
|
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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user