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

Create an scaleway_instance_image data source #276

Closed
QuentinBrosse opened this issue Oct 11, 2019 · 1 comment
Closed

Create an scaleway_instance_image data source #276

QuentinBrosse opened this issue Oct 11, 2019 · 1 comment
Labels
instance Instance issues, bugs and feature requests
Milestone

Comments

@QuentinBrosse
Copy link
Contributor

As it is described in #225, this data source will replace scaleway_image.

We have to take https://github.com/terraform-providers/terraform-provider-scaleway/issues/95 in consideration for the design of this new data source.

Proposal draft

data "scaleway_instance_image" "ubuntu" {
  architecture = "arm" # Desired arch. 
  label = "ubuntu-bionic" # Exact label of desired image.
  fixed = true # If true, never update the underlying local image UUID. 
}
@jerome-quere
Copy link
Contributor

jerome-quere commented Oct 11, 2019

We also take the opposit approch:

data "scaleway_instance_image" "ubuntu" {
  architecture = "arm" # Desired arch. 
  label = "ubuntu-bionic" # Exact label of desired image.
  latest = true # If true will alwys fetch the latest version
}

@QuentinBrosse QuentinBrosse changed the title Create a scaleway_instance_image datasource Create an scaleway_instance_image data source Oct 11, 2019
@QuentinBrosse QuentinBrosse added this to the v1.13.0 milestone Oct 11, 2019
@remyleone remyleone added the instance Instance issues, bugs and feature requests label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance Instance issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

3 participants