github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/scaleway/d/image.html.markdown (about) 1 --- 2 layout: "scaleway" 3 page_title: "Scaleway: scaleway_image" 4 sidebar_current: "docs-scaleway-datasource-image" 5 description: |- 6 Get information on a Scaleway image. 7 --- 8 9 # scaleway\_image 10 11 Use this data source to get the ID of a registered Image for use with the 12 `scaleway_server` resource. 13 14 ## Example Usage 15 16 ```hcl 17 data "scaleway_image" "ubuntu" { 18 architecture = "arm" 19 name = "Ubuntu Precise" 20 } 21 22 resource "scaleway_server" "base" { 23 name = "test" 24 image = "${data.scaleway_image.ubuntu.id}" 25 type = "C1" 26 } 27 ``` 28 29 ## Argument Reference 30 31 * `architecture` - (Required) any supported Scaleway architecture, e.g. `x86_64`, `arm` 32 33 * `name_filter` - (Optional) Regexp to match Image name by 34 35 * `name` - (Optional) Exact name of desired Image 36 37 ## Attributes Reference 38 39 `id` is set to the ID of the found Image. In addition, the following attributes 40 are exported: 41 42 * `architecture` - architecture of the Image, e.g. `arm` or `x86_64` 43 44 * `organization` - uuid of the organization owning this Image 45 46 * `public` - is this a public bootscript 47 48 * `creation_date` - date when image was created 49