Skip to content
Snippets Groups Projects
Unverified Commit 18c0e54e authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Add most_recent = true while retrieving the latest image (#7376)

parent 85007fa9
No related branches found
No related tags found
No related merge requests found
data "openstack_images_image_v2" "vm_image" {
count = var.image_uuid == "" ? 1 : 0
most_recent = true
name = var.image
}
data "openstack_images_image_v2" "gfs_image" {
count = var.image_gfs_uuid == "" ? var.image_uuid == "" ? 1 : 0 : 0
most_recent = true
name = var.image_gfs == "" ? var.image : var.image_gfs
}
......
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