Use this data source to access information about a Platform Image.
data "azurestack_platform_image" "test" {
location = "West Europe"
publisher = "Canonical"
offer = "UbuntuServer"
sku = "16.04-LTS"
}
output "version" {
value = data.azurestack_platform_image.test.version
}
location
- (Required) Specifies the Location to pull information about this Platform Image from.publisher
- (Required) Specifies the Publisher associated with the Platform Image.offer
- (Required) Specifies the Offer associated with the Platform Image.sku
- (Required) Specifies the SKU of the Platform Image.id
- The ID of the Platform Image.version
- The latest version of the Platform Image.