FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

scaleway_image

Use this data source to get the ID of a registered Image for use with the scaleway_server resource.

Example Usage

data "scaleway_image" "ubuntu" {
  architecture = "arm"
  name = "Ubuntu Precise"
}

resource "scaleway_server" "base" {
  name = "test"
  image = "${data.scaleway_image.ubuntu.id}"
  type = "C1"
}

Argument Reference

Attributes Reference

id is set to the ID of the found Image. In addition, the following attributes are exported:


See the source of this document at Terraform.io