mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-08 09:15:29 -04:00
terraform template libvirt
Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
parent
869448c3e1
commit
ff657a2ee7
8 changed files with 267 additions and 0 deletions
40
terraform/libvirt/variables.tf
Normal file
40
terraform/libvirt/variables.tf
Normal file
|
@ -0,0 +1,40 @@
|
|||
variable "constellation_coreos_image_qcow2" {
|
||||
type = string
|
||||
description = "constellation OS qcow file path"
|
||||
}
|
||||
|
||||
variable "control_plane_count" {
|
||||
type = number
|
||||
default = 3
|
||||
description = "amount of control plane nodes"
|
||||
}
|
||||
|
||||
variable "worker_count" {
|
||||
type = number
|
||||
default = 2
|
||||
description = "amount of worker nodes"
|
||||
}
|
||||
|
||||
variable "vcpus" {
|
||||
type = number
|
||||
default = 2
|
||||
description = "amount of vcpus per instance"
|
||||
}
|
||||
|
||||
variable "memory" {
|
||||
type = number
|
||||
default = 2048
|
||||
description = "amount of memory per instance (MiB)"
|
||||
}
|
||||
|
||||
variable "state_disk_size" {
|
||||
type = number
|
||||
default = 10
|
||||
description = "size of state disk (GiB)"
|
||||
}
|
||||
|
||||
variable "ip_range_start" {
|
||||
type = number
|
||||
default = 100
|
||||
description = "first ip address to use within subnet"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue