{"id":20726992,"url":"https://github.com/hmcts/terraform-module-template","last_synced_at":"2025-10-26T08:10:54.097Z","repository":{"id":37085194,"uuid":"500487492","full_name":"hmcts/terraform-module-template","owner":"hmcts","description":"Template for Terraform modules","archived":false,"fork":false,"pushed_at":"2025-02-28T08:34:43.000Z","size":34,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-02-28T15:24:17.561Z","etag":null,"topics":["infrastructure-as-code","template","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","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/hmcts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-06T15:24:36.000Z","updated_at":"2025-02-28T08:34:46.000Z","dependencies_parsed_at":"2025-01-28T08:20:02.882Z","dependency_job_id":"94566a78-975a-4100-915c-a6069e4aa9e9","html_url":"https://github.com/hmcts/terraform-module-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fterraform-module-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fterraform-module-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fterraform-module-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmcts%2Fterraform-module-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmcts","download_url":"https://codeload.github.com/hmcts/terraform-module-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243004649,"owners_count":20220343,"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":["infrastructure-as-code","template","terraform","terraform-module"],"created_at":"2024-11-17T04:28:46.489Z","updated_at":"2025-10-26T08:10:49.064Z","avatar_url":"https://github.com/hmcts.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-module-template\n\n\u003c!-- TODO fill in resource name in link to product documentation --\u003e\nTerraform module for [Resource name](https://example.com).\n\n## Example\n\n\u003c!-- todo update module name --\u003e\n```hcl\nmodule \"todo_resource_name\" {\n  source = \"git@github.com:hmcts/terraform-module-todo?ref=main\"\n  ...\n}\n\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_azurerm\"\u003e\u003c/a\u003e [azurerm](#requirement\\_azurerm) | \u003e= 3.7.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | \u003e= 3.7.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_resource_group.rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |\n| [azurerm_subscription.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/subscription) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_common_tags\"\u003e\u003c/a\u003e [common\\_tags](#input\\_common\\_tags) | Common tag to be applied to resources. | `map(string)` | n/a | yes |\n| \u003ca name=\"input_component\"\u003e\u003c/a\u003e [component](#input\\_component) | https://hmcts.github.io/glossary/#component | `string` | n/a | yes |\n| \u003ca name=\"input_env\"\u003e\u003c/a\u003e [env](#input\\_env) | Environment value. | `string` | n/a | yes |\n| \u003ca name=\"input_existing_resource_group_name\"\u003e\u003c/a\u003e [existing\\_resource\\_group\\_name](#input\\_existing\\_resource\\_group\\_name) | Name of existing resource group to deploy resources into | `string` | `null` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | Target Azure location to deploy the resource | `string` | `\"UK South\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The default name will be product+component+env, you can override the product+component part by setting this | `string` | `\"\"` | no |\n| \u003ca name=\"input_product\"\u003e\u003c/a\u003e [product](#input\\_product) | https://hmcts.github.io/glossary/#product | `string` | n/a | yes |\n| \u003ca name=\"input_project\"\u003e\u003c/a\u003e [project](#input\\_project) | Project name - sds or cft. | `any` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_resource_group_location\"\u003e\u003c/a\u003e [resource\\_group\\_location](#output\\_resource\\_group\\_location) | n/a |\n| \u003ca name=\"output_resource_group_name\"\u003e\u003c/a\u003e [resource\\_group\\_name](#output\\_resource\\_group\\_name) | n/a |\n\u003c!-- END_TF_DOCS --\u003e\n\n## Contributing\n\nWe use pre-commit hooks for validating the terraform format and maintaining the documentation automatically.\nInstall it with:\n\n```shell\n$ brew install pre-commit terraform-docs\n$ pre-commit install\n```\n\nIf you add a new hook make sure to run it against all files:\n```shell\n$ pre-commit run --all-files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmcts%2Fterraform-module-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmcts%2Fterraform-module-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmcts%2Fterraform-module-template/lists"}