Use this data source to access information about an existing Shared Image Gallery.
data "azurerm_shared_image_gallery" "example" {
name = "my-image-gallery"
resource_group_name = "example-resources"
}
The following arguments are supported:
name
- The name of the Shared Image Gallery.
resource_group_name
- The name of the Resource Group in which the Shared Image Gallery exists.
The following attributes are exported:
id
- The ID of the Shared Image Gallery.
description
- A description for the Shared Image Gallery.
image_names
- A list of Shared Image names within this Shared Image Gallery.
unique_name
- The unique name assigned to the Shared Image Gallery.
tags
- A mapping of tags which are assigned to the Shared Image Gallery.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Shared Image Gallery.