Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaleway_image: most_recent attribute its not working as expected #117

Closed
bugbuilder opened this issue Mar 24, 2019 · 0 comments
Closed

Comments

@bugbuilder
Copy link
Contributor

Hi there,

The sort behavior used by scaleway_image is ascending. If we want to select the most recent image this sort has to be descending.

Terraform Version

Terraform v0.11.13

Affected Resource(s)

  • scaleway_image

Terraform Configuration Files

data "scaleway_image" "debian" {
  architecture = "x86_64"
  name         = "scw-node-v1-2019-03-23"
  most_recent  = "true"
}

Expected Behavior

Return most recent image if multiple exist

Actual Behavior

Return the first image created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant