terraform-provider-ibm icon indicating copy to clipboard operation
terraform-provider-ibm copied to clipboard

Add optional `most_recent` parameter to `ibm_compute_image_template`

Open arielsalvo opened this issue 6 years ago • 2 comments

The data source is pretty useless when using public images from IBM (among many others) that have the same name over the many different versions of the image. Adding an optional most_recent parameter allows the data source to return the highest ID number in the set instead of just the first it encounters while retaining the original behavior if unset or set to false.

This solution is the same as implemented by the analogous data source in the AWS provider

arielsalvo avatar Apr 03 '19 22:04 arielsalvo

@hkantare Is there something in this PR that is preventing it being merged?

jsutton avatar Aug 28 '19 21:08 jsutton

@jsutton I haven't had time to rework the solution to include the bug-fixing in softlayer-go @hkantare objected to the code I'd provided, so it is not ready to merge

arielsalvo avatar Aug 28 '19 21:08 arielsalvo

No longer relevant

arielsalvo avatar Nov 30 '22 22:11 arielsalvo