google::compute-image

Query image.

Example

compute-image: $(external-query google::compute-image { name: 'image-example' })
compute-image: $(external-query google::compute-image { family: 'image-family-example' })
compute-image: $(external-query google::compute-image { project: 'centos-cloud', family: 'centos-6' })

Attributes

Attribute Description
name The name of the image.
family The family of the image.
project The project where the image resides. Defaults to current project.