Skip to content
Snippets Groups Projects
Commit eeba066a authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add variable for volume size

parent dbc1c4e0
No related branches found
No related tags found
1 merge request!65Feat cluster images
Pipeline #8750 failed with stages
in 1 hour, 41 minutes, and 8 seconds
......@@ -10,7 +10,7 @@ source "openstack" "image" {
image_auto_accept_members = var.auto_accept_members
image_tags = var.image_tags
image_disk_format = var.image_format
volume_size = 20
volume_size = var.volume_size
flavor = var.flavor
instance_name = var.build_instance_name
use_blockstorage_volume = true
......
......@@ -82,3 +82,9 @@ variable "ssh_username" {
default = "centos"
description = "The default username to use for SSH"
}
variable "volume_size" {
type = number
default = 20
description = "The default volume size for building iamge"
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ source "openstack" "image" {
image_auto_accept_members = var.auto_accept_members
image_tags = var.image_tags
image_disk_format = var.image_format
volume_size = 20
volume_size = var.volume_size
flavor = var.flavor
instance_name = var.build_instance_name
use_blockstorage_volume = true
......
......@@ -82,3 +82,9 @@ variable "ssh_username" {
default = "centos"
description = "The default username to use for SSH"
}
variable "volume_size" {
type = number
default = 20
description = "The default volume size for building iamge"
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ source "openstack" "image" {
image_auto_accept_members = var.auto_accept_members
image_tags = var.image_tags
image_disk_format = var.image_format
volume_size = 20
volume_size = var.volume_size
flavor = var.flavor
instance_name = var.build_instance_name
use_blockstorage_volume = true
......
......@@ -82,3 +82,9 @@ variable "ssh_username" {
default = "centos"
description = "The default username to use for SSH"
}
variable "volume_size" {
type = number
default = 20
description = "The default volume size for building iamge"
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ source "openstack" "image" {
image_auto_accept_members = var.auto_accept_members
image_tags = var.image_tags
image_disk_format = var.image_format
volume_size = 20
volume_size = var.volume_size
flavor = var.flavor
instance_name = var.build_instance_name
use_blockstorage_volume = true
......
......@@ -82,3 +82,9 @@ variable "ssh_username" {
default = "centos"
description = "The default username to use for SSH"
}
variable "volume_size" {
type = number
default = 20
description = "The default volume size for building iamge"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment