You've already forked kubespray-dualstack
feat: added main terraform module
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
variable "naming_prefix" {
|
||||
type = string
|
||||
default = "task13_"
|
||||
}
|
||||
|
||||
variable "dot_env_file_path" {
|
||||
type = string
|
||||
default = ".env"
|
||||
}
|
||||
|
||||
variable "image_pool_folder" {
|
||||
description = "Local folder where base images are stored"
|
||||
type = string
|
||||
default = "../assets/images"
|
||||
}
|
||||
|
||||
variable "image_filename" {
|
||||
description = "Name of the base cloud image file"
|
||||
type = string
|
||||
default = "noble-server-cloudimg-amd64.img"
|
||||
}
|
||||
|
||||
variable "control_plane_ipv4" {
|
||||
type = string
|
||||
default = "10.6.6.10"
|
||||
}
|
||||
|
||||
variable "control_plane_ipv6" {
|
||||
type = string
|
||||
default = "2001:db8:ca2:2::10"
|
||||
}
|
||||
|
||||
variable "worker_ipv4s" {
|
||||
type = list(string)
|
||||
default = ["10.6.6.20"]
|
||||
}
|
||||
|
||||
variable "worker_ipv6s" {
|
||||
type = list(string)
|
||||
default = ["2001:db8:ca2:2::20"]
|
||||
}
|
||||
|
||||
variable "network_ipv4_cidr" {
|
||||
type = string
|
||||
default = "10.6.6.0/24"
|
||||
}
|
||||
|
||||
variable "network_ipv6_cidr" {
|
||||
type = string
|
||||
default = "2001:db8:ca2:2::/64"
|
||||
}
|
||||
|
||||
variable "mtu" {
|
||||
type = number
|
||||
default = 1500
|
||||
}
|
||||
|
||||
variable "cpu_per_node" {
|
||||
type = number
|
||||
default = 4
|
||||
}
|
||||
|
||||
variable "mem_per_node" {
|
||||
type = number
|
||||
default = 2048
|
||||
}
|
||||
Reference in New Issue
Block a user