{"id":18578917,"url":"https://github.com/libre-devops/terraform-azurerm-compute-gallery-application","last_synced_at":"2025-05-16T02:12:36.651Z","repository":{"id":227363951,"uuid":"771191924","full_name":"libre-devops/terraform-azurerm-compute-gallery-application","owner":"libre-devops","description":"A module used to deploy a compute gallery application 📲","archived":false,"fork":false,"pushed_at":"2024-03-12T22:33:15.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-30T15:44:29.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libre-devops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-12T21:17:43.000Z","updated_at":"2024-03-12T21:17:50.000Z","dependencies_parsed_at":"2024-03-12T23:38:59.361Z","dependency_job_id":"f3223643-9eb1-4695-a4f0-364f421638de","html_url":"https://github.com/libre-devops/terraform-azurerm-compute-gallery-application","commit_stats":null,"previous_names":["libre-devops/terraform-azurerm-compute-gallery-application"],"tags_count":1,"template":false,"template_full_name":"libre-devops/terraform-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/terraform-azurerm-compute-gallery-application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453625,"owners_count":22073618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:38:14.607Z","updated_at":"2025-05-16T02:12:36.625Z","avatar_url":"https://github.com/libre-devops.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nresource \"azurerm_shared_image\" \"shared_image\" {\n  for_each                            = { for k, v in var.images : k =\u003e v }\n  gallery_name                        = var.gallery_name\n  resource_group_name                 = var.rg_name\n  location                            = var.location\n  tags                                = var.tags\n  name                                = try(each.value.name, null)\n  description                         = try(each.value.description, null)\n  specialized                         = try(each.value.specialised, null)\n  hyper_v_generation                  = upper(try(each.value.hyper_v_generation, null))\n  os_type                             = title(each.value.os_type)\n  accelerated_network_support_enabled = try(each.value.accelerated_network_support_enabled, null)\n  eula                                = each.value.eula\n  end_of_life_date                    = each.value.end_of_life_date\n  disk_types_not_allowed              = each.value.disk_types_not_allowed\n  architecture                        = each.value.architecture\n  max_recommended_vcpu_count          = each.value.max_recommended_vcpu_count\n  min_recommended_vcpu_count          = each.value.min_recommended_vcpu_count\n  max_recommended_memory_in_gb        = each.value.max_recommended_memory_in_gb\n  min_recommended_memory_in_gb        = each.value.min_recommended_memory_in_gb\n  release_note_uri                    = each.value.release_note_uri\n  trusted_launch_enabled              = each.value.trusted_launch_enabled\n  trusted_launch_supported            = each.value.trusted_launch_supported\n  confidential_vm_enabled             = each.value.confidential_vm_enabled\n  confidential_vm_supported           = each.value.confidential_vm_supported\n\n  dynamic \"identifier\" {\n    for_each = each.value.identifier != null ? [each.value.identifier] : []\n    content {\n      offer     = identifier.value.offer\n      publisher = identifier.value.publisher\n      sku       = identifier.value.sku\n    }\n  }\n\n  dynamic \"purchase_plan\" {\n    for_each = each.value.purchase_plan != null ? [each.value.purchase_plan] : []\n    content {\n      name      = purchase_plan.value.name\n      publisher = purchase_plan.value.publisher\n      product   = purchase_plan.value.product\n    }\n  }\n}\n```\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_shared_image.shared_image](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/shared_image) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_gallery_name\"\u003e\u003c/a\u003e [gallery\\_name](#input\\_gallery\\_name) | The name of the shared image gallery | `string` | n/a | yes |\n| \u003ca name=\"input_images\"\u003e\u003c/a\u003e [images](#input\\_images) | The block used to create 1 or more images | \u003cpre\u003elist(object({\u003cbr\u003e    name                                = string\u003cbr\u003e    description                         = optional(string)\u003cbr\u003e    specialized                         = optional(bool, false)\u003cbr\u003e    hyper_v_generation                  = optional(string, \"V2\")\u003cbr\u003e    os_type                             = optional(string)\u003cbr\u003e    accelerated_network_support_enabled = optional(string)\u003cbr\u003e    disk_types_not_allowed              = optional(list(string))\u003cbr\u003e    end_of_life_date                    = optional(string)\u003cbr\u003e    eula                                = optional(string)\u003cbr\u003e    architecture                        = optional(string, \"x64\")\u003cbr\u003e    max_recommended_vcpu_count          = optional(number)\u003cbr\u003e    min_recommended_vcpu_count          = optional(number)\u003cbr\u003e    max_recommended_memory_in_gb        = optional(number)\u003cbr\u003e    min_recommended_memory_in_gb        = optional(number)\u003cbr\u003e    privacy_statement_uri               = optional(string)\u003cbr\u003e    release_note_uri                    = optional(string)\u003cbr\u003e    trusted_launch_supported            = optional(bool)\u003cbr\u003e    trusted_launch_enabled              = optional(bool)\u003cbr\u003e    confidential_vm_supported           = optional(bool)\u003cbr\u003e    confidential_vm_enabled             = optional(bool)\u003cbr\u003e    identifier = object({\u003cbr\u003e      offer     = string\u003cbr\u003e      publisher = string\u003cbr\u003e      sku       = string\u003cbr\u003e    })\u003cbr\u003e    purchase_plan = optional(object({\u003cbr\u003e      name      = string\u003cbr\u003e      publisher = optional(string)\u003cbr\u003e      product   = optional(string)\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | n/a | yes |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The name of the location | `string` | `\"uksouth\"` | no |\n| \u003ca name=\"input_rg_name\"\u003e\u003c/a\u003e [rg\\_name](#input\\_rg\\_name) | The name of the resource group | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | The tags to be applied | `map(string)` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_image_gallery_name\"\u003e\u003c/a\u003e [image\\_gallery\\_name](#output\\_image\\_gallery\\_name) | The gallery name of the image |\n| \u003ca name=\"output_image_id\"\u003e\u003c/a\u003e [image\\_id](#output\\_image\\_id) | The id of the image |\n| \u003ca name=\"output_image_name\"\u003e\u003c/a\u003e [image\\_name](#output\\_image\\_name) | The name of the image |\n| \u003ca name=\"output_image_resource_group_name\"\u003e\u003c/a\u003e [image\\_resource\\_group\\_name](#output\\_image\\_resource\\_group\\_name) | The rg name of the image |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery-application/lists"}