{"id":18578969,"url":"https://github.com/libre-devops/terraform-azurerm-image","last_synced_at":"2026-01-24T11:34:47.247Z","repository":{"id":118714418,"uuid":"497348030","full_name":"libre-devops/terraform-azurerm-image","owner":"libre-devops","description":"A module used to deploy an Azure image :camera:","archived":false,"fork":false,"pushed_at":"2022-05-28T15:00:09.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-16T02:12:39.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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-28T14:54:29.000Z","updated_at":"2022-05-28T14:59:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"70955d61-d569-4024-a89b-9bce2000a26b","html_url":"https://github.com/libre-devops/terraform-azurerm-image","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"libre-devops/terraform-module-template","purl":"pkg:github/libre-devops/terraform-azurerm-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libre-devops","download_url":"https://codeload.github.com/libre-devops/terraform-azurerm-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libre-devops%2Fterraform-azurerm-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28726695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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:26.598Z","updated_at":"2026-01-24T11:34:47.231Z","avatar_url":"https://github.com/libre-devops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"```hcl\nmodule \"rg\" {\n  source = \"registry.terraform.io/libre-devops/rg/azurerm\"\n\n  rg_name  = \"rg-${var.short}-${var.loc}-${terraform.workspace}-build\" // rg-ldo-euw-dev-build\n  location = local.location                                            // compares var.loc with the var.regions var to match a long-hand name, in this case, \"euw\", so \"westeurope\"\n  tags     = local.tags\n\n  #  lock_level = \"CanNotDelete\" // Do not set this value to skip lock\n}\n\nmodule \"gallery\" {\n  source = \"registry.terraform.io/libre-devops/compute-gallery/azurerm\"\n\n  rg_name  = module.rg.rg_name\n  location = module.rg.rg_location\n  tags     = module.rg.rg_tags\n\n  gallery_name = \"gal${var.short}${var.loc}${terraform.workspace}01\"\n  description  = \"A basic description\"\n}\n\nmodule \"image\" {\n  source = \"registry.terraform.io/libre-devops/shared-image/azurerm\"\n\n  rg_name  = module.rg.rg_name\n  location = module.rg.rg_location\n  tags     = module.rg.rg_tags\n\n  images = {\n    img01 = {\n      gallery_name             = module.gallery.gallery_name\n      is_image_specialised     = false\n      image_hyper_v_generation = \"V2\"\n      image_os_type            = \"Linux\"\n\n      identifier = {\n        publisher = \"LibreDevOps\"\n        offer     = \"Image2\"\n        sku       = \"Latest\"\n      }\n\n      image_version_number = formatdate(\"YYYY.MM\", timestamp())\n      exclude_from_latest  = false\n\n      image_version_target_region = {\n        image_replication_zone_location = \"westeurope\"\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_image.azure_image](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/image) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_images\"\u003e\u003c/a\u003e [images](#input\\_images) | The images block | `any` | n/a | yes |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The location for this resource to be put in | `string` | n/a | yes |\n| \u003ca name=\"input_rg_name\"\u003e\u003c/a\u003e [rg\\_name](#input\\_rg\\_name) | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"source\": \"terraform\"\u003cbr\u003e}\u003c/pre\u003e | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibre-devops%2Fterraform-azurerm-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibre-devops%2Fterraform-azurerm-image/lists"}