Terraform module for an Azure compute gallery
This module creates an Azure compute gallery optionally seeded with image definitions.
No modules.
Name |
Description |
Type |
Default |
Required |
image_definitions |
VM image definitions to create in the gallery. |
list(object({ name = string os_type = string offer = string sku = string app = string generation = optional(string, "V2") })) |
[] |
no |
image_gallery_description |
Description for the shared image gallery. |
string |
"Shared images built by Packer." |
no |
image_gallery_name |
Name for the shared image gallery. |
string |
"packer_images" |
no |
location |
The Azure region where resources will be created. |
string |
"centralus" |
no |
publisher |
Publisher name to use on image definitions. |
string |
n/a |
yes |
resource_group_name |
Name of the existing resource group where the gallery will be created. |
string |
n/a |
yes |
Name |
Description |
image_gallery_id |
ID of the created image gallery. |
name |
Unique name of the created image gallery. |