allow users to set image_uuid instead of name, this allows the use of openstack community images (#7283)

This commit is contained in:
Hugo Blom
2021-02-16 16:05:06 +01:00
committed by GitHub
parent 796d3fb975
commit f2d10e9465
4 changed files with 85 additions and 31 deletions

View File

@@ -258,3 +258,23 @@ variable "extra_sec_groups" {
variable "extra_sec_groups_name" {
default = "custom"
}
variable "image_uuid" {
description = "uuid of image inside openstack to use"
default = ""
}
variable "image_gfs_uuid" {
description = "uuid of image to be used on gluster fs nodes. If empty defaults to image_uuid"
default = ""
}
variable "image_master" {
description = "uuid of image inside openstack to use"
default = ""
}
variable "image_master_uuid" {
description = "uuid of image to be used on master nodes. If empty defaults to image_uuid"
default = ""
}