{"id":18578922,"url":"https://github.com/libre-devops/terraform-azurerm-compute-gallery","last_synced_at":"2025-05-16T02:12:39.019Z","repository":{"id":118714347,"uuid":"496694516","full_name":"libre-devops/terraform-azurerm-compute-gallery","owner":"libre-devops","description":"A module used to deploy an Azure Compute Gallery","archived":false,"fork":false,"pushed_at":"2024-09-26T23:13:11.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-30T15:44:29.755Z","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,"publiccode":null,"codemeta":null}},"created_at":"2022-05-26T16:32:19.000Z","updated_at":"2024-09-26T23:13:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2c1af79-1416-45b2-a8b6-8c58ea01d6c5","html_url":"https://github.com/libre-devops/terraform-azurerm-compute-gallery","commit_stats":null,"previous_names":[],"tags_count":3,"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","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-compute-gallery/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/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:15.201Z","updated_at":"2025-05-16T02:12:38.998Z","avatar_url":"https://github.com/libre-devops.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nresource \"azurerm_shared_image_gallery\" \"compute_gallery\" {\n  for_each = { for gal in var.compute_gallery : gal.name =\u003e gal }\n\n  name                = each.value.name\n  resource_group_name = each.value.rg_name\n  location            = each.value.location\n  description         = each.value.description\n  tags                = each.value.tags\n\n  dynamic \"sharing\" {\n    for_each = each.value.sharing != null ? [each.value.sharing] : []\n    content {\n      permission = title(sharing.value.permission)\n\n\n      dynamic \"community_gallery\" {\n        for_each = sharing.value.community_gallery != null ? [sharing.value.community_gallery] : []\n        content {\n          eula            = community_gallery.value.eula\n          prefix          = community_gallery.value.prefix\n          publisher_email = community_gallery.value.publisher_email\n          publisher_uri   = community_gallery.value.publisher_uri\n        }\n      }\n    }\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_gallery.compute_gallery](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/shared_image_gallery) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_compute_gallery\"\u003e\u003c/a\u003e [compute\\_gallery](#input\\_compute\\_gallery) | The block used to create 1 or more compute galleries | \u003cpre\u003elist(object({\u003cbr\u003e    name        = string\u003cbr\u003e    rg_name     = string\u003cbr\u003e    location    = optional(string, \"uksouth\")\u003cbr\u003e    description = optional(string, \"The default compute gallery used within the azure platform\")\u003cbr\u003e    tags        = map(string)\u003cbr\u003e    sharing = optional(object({\u003cbr\u003e      permission = optional(string, \"Groups\")\u003cbr\u003e      community_gallery = optional(object({\u003cbr\u003e        eula            = string\u003cbr\u003e        prefix          = string\u003cbr\u003e        publisher_email = string\u003cbr\u003e        publisher_uri   = string\u003cbr\u003e      }))\u003cbr\u003e    }))\u003cbr\u003e  }))\u003c/pre\u003e | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_gallery_id\"\u003e\u003c/a\u003e [gallery\\_id](#output\\_gallery\\_id) | The ID of the gallery |\n| \u003ca name=\"output_gallery_location\"\u003e\u003c/a\u003e [gallery\\_location](#output\\_gallery\\_location) | The location name of the gallery |\n| \u003ca name=\"output_gallery_name\"\u003e\u003c/a\u003e [gallery\\_name](#output\\_gallery\\_name) | The name name of the gallery |\n| \u003ca name=\"output_gallery_rg_name\"\u003e\u003c/a\u003e [gallery\\_rg\\_name](#output\\_gallery\\_rg\\_name) | The rg name of the gallery |\n| \u003ca name=\"output_gallery_tags\"\u003e\u003c/a\u003e [gallery\\_tags](#output\\_gallery\\_tags) | The tags of the gallery |\n| \u003ca name=\"output_gallery_unique_name\"\u003e\u003c/a\u003e [gallery\\_unique\\_name](#output\\_gallery\\_unique\\_name) | The unique name of the gallery |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-compute-gallery/lists"}