File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
skeleton/{{cookiecutter.environment}}/terraform Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ variable "volume_backed_instances" {
5454 default = false
5555}
5656
57+ variable "root_volume_size" {
58+ default = 15
59+ }
60+
5761variable "k3s_token" {
5862 type = string
5963}
@@ -94,6 +98,7 @@ module "cluster" {
9498 }
9599
96100 volume_backed_instances = var. volume_backed_instances
101+ root_volume_size = var. root_volume_size
97102
98103 environment_root = var. environment_root
99104 # Can reduce volume size a lot for short-lived CI clusters:
Original file line number Diff line number Diff line change @@ -19,4 +19,6 @@ module "compute" {
1919 k3s_server = [for n in openstack_compute_instance_v2 . control [" control" ]. network : n . fixed_ip_v4 if n . access_network ][0 ]
2020 security_group_ids = [for o in data . openstack_networking_secgroup_v2 . nonlogin : o . id ]
2121 baremetal_nodes = data. external . baremetal_nodes . result
22+ volume_backed_instances = var. volume_backed_instances
23+ root_volume_size = var. root_volume_size
2224}
Original file line number Diff line number Diff line change @@ -53,15 +53,11 @@ variable "vnic_profile" {
5353}
5454
5555variable "volume_backed_instances" {
56- description = " Whether to use volumes for root disks"
5756 type = bool
58- default = false
5957}
6058
6159variable "root_volume_size" {
62- description = " Size of volume for root volumes if using volume backed instances, in Gb"
6360 type = number
64- default = 40
6561}
6662
6763variable "security_group_ids" {
You can’t perform that action at this time.
0 commit comments