Quote Bot CI/CD Pipeline / check (push) Waiting to run
Quote Bot CI/CD Pipeline / Security Scan (push) Waiting to run
Quote Bot CI/CD Pipeline / Build and push to Docker Hub (push) Blocked by required conditions
Quote Bot CI/CD Pipeline / Deploy to VPS via Ansible (push) Blocked by required conditions
76 lines
990 B
Terraform
76 lines
990 B
Terraform
variable "zone" {
|
|
type = string
|
|
default = "ru-central1-d"
|
|
}
|
|
|
|
variable "network" {
|
|
type = string
|
|
default = "ya-network"
|
|
}
|
|
|
|
variable "subnet" {
|
|
type = string
|
|
default = "ya-network"
|
|
}
|
|
|
|
variable "subnet_v4_cidr_blocks" {
|
|
type = list(string)
|
|
default = ["192.168.10.0/24"]
|
|
}
|
|
|
|
variable "nat" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "image_family" {
|
|
type = string
|
|
default = "ubuntu-2404-lts"
|
|
}
|
|
|
|
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "cores" {
|
|
type = number
|
|
default = 2
|
|
}
|
|
|
|
variable "memory" {
|
|
type = number
|
|
default = 4
|
|
}
|
|
|
|
variable "disk_size" {
|
|
type = number
|
|
default = 50
|
|
}
|
|
|
|
variable "disk_type" {
|
|
type = string
|
|
default = "network-nvme"
|
|
}
|
|
|
|
variable "user_name" {
|
|
default = ""
|
|
type = string
|
|
}
|
|
|
|
variable "user_pass" {
|
|
default = ""
|
|
type = string
|
|
}
|
|
|
|
variable "admin_pass" {
|
|
default = ""
|
|
type = string
|
|
}
|
|
|
|
variable "timeout_create" {
|
|
default = "10m"
|
|
}
|
|
|
|
variable "timeout_delete" {
|
|
default = "10m"
|
|
} |