Data Source: azurerm_image

Use this data source to access information about an existing Image.

Example Usage

data "azurerm_image" "search" {
  name                = "search-api"
  resource_group_name = "packerimages"
}

output "image_id" {
  value = data.azurerm_image.search.id
}

Argument Reference

Attributes Reference

os_disk supports the following:

data_disk supports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: