{"id":49079370,"url":"https://github.com/terraform-hc-modules/terraform-hcloud-labels","last_synced_at":"2026-04-20T12:10:49.511Z","repository":{"id":352606115,"uuid":"1215906755","full_name":"terraform-hc-modules/terraform-hcloud-labels","owner":"terraform-hc-modules","description":"Terraform module for consistent labeling and naming conventions in Hetzner Cloud","archived":false,"fork":false,"pushed_at":"2026-04-20T11:34:53.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T11:47:45.442Z","etag":null,"topics":["hcloud","hetzner","labels","terraform","terraform-module"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terraform-hc-modules.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-20T11:22:04.000Z","updated_at":"2026-04-20T11:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/terraform-hc-modules/terraform-hcloud-labels","commit_stats":null,"previous_names":["terraform-hc-modules/terraform-hcloud-labels"],"tags_count":1,"template":false,"template_full_name":"terraform-hc-modules/terraform-module-template","purl":"pkg:github/terraform-hc-modules/terraform-hcloud-labels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-hc-modules%2Fterraform-hcloud-labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-hc-modules%2Fterraform-hcloud-labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-hc-modules%2Fterraform-hcloud-labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-hc-modules%2Fterraform-hcloud-labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terraform-hc-modules","download_url":"https://codeload.github.com/terraform-hc-modules/terraform-hcloud-labels/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terraform-hc-modules%2Fterraform-hcloud-labels/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32046473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["hcloud","hetzner","labels","terraform","terraform-module"],"created_at":"2026-04-20T12:10:48.800Z","updated_at":"2026-04-20T12:10:49.504Z","avatar_url":"https://github.com/terraform-hc-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hetzner Cloud Labels Module\n\nTerraform module to generate consistent naming and labeling for Hetzner Cloud resources.\n\n## Usage\n\n```hcl\nmodule \"labels\" {\n  source  = \"terraform-hc-modules/labels/hcloud\"\n  version = \"~\u003e 0.1\"\n\n  name        = \"web-server\"\n  environment = \"production\"\n  project     = \"myapp\"\n  owner       = \"platform-team\"\n}\n\n# Use outputs\nresource \"hcloud_server\" \"this\" {\n  name        = module.labels.id      # \"production-web-server\"\n  server_type = \"cx22\"\n  image       = \"ubuntu-24.04\"\n  labels      = module.labels.labels  # { name = \"web-server\", environment = \"production\", ... }\n}\n```\n\n## Examples\n\n- [Basic](examples/basic) - Simple usage\n- [Complete](examples/complete) - All features\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n| ---- | ------- |\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.5.0 |\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0 |\n| \u003ca name=\"requirement_hcloud\"\u003e\u003c/a\u003e [hcloud](#requirement\\_hcloud) | \u003e= 1.49.0 |\n\n## Providers\n\nNo providers.\n\n## Modules\n\nNo modules.\n\n## Resources\n\nNo resources.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n| ---- | ----------- | ---- | ------- | :------: |\n| \u003ca name=\"input_delimiter\"\u003e\u003c/a\u003e [delimiter](#input\\_delimiter) | Delimiter between labels in the generated ID. | `string` | `\"-\"` | no |\n| \u003ca name=\"input_enabled\"\u003e\u003c/a\u003e [enabled](#input\\_enabled) | Set to false to prevent the module from creating any resources. | `bool` | `true` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Environment name (e.g., dev, staging, prod). | `string` | `\"\"` | no |\n| \u003ca name=\"input_extra_labels\"\u003e\u003c/a\u003e [extra\\_labels](#input\\_extra\\_labels) | Additional labels to merge with generated labels. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_label_order\"\u003e\u003c/a\u003e [label\\_order](#input\\_label\\_order) | Order of labels to include in the generated ID. | `list(string)` | \u003cpre\u003e[\u003cbr/\u003e  \"environment\",\u003cbr/\u003e  \"name\"\u003cbr/\u003e]\u003c/pre\u003e | no |\n| \u003ca name=\"input_managed_by\"\u003e\u003c/a\u003e [managed\\_by](#input\\_managed\\_by) | Tool managing this resource. | `string` | `\"terraform\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of the resource. | `string` | `\"\"` | no |\n| \u003ca name=\"input_owner\"\u003e\u003c/a\u003e [owner](#input\\_owner) | Owner of the resource (team or individual). | `string` | `\"\"` | no |\n| \u003ca name=\"input_project\"\u003e\u003c/a\u003e [project](#input\\_project) | Project or application name. | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n| ---- | ----------- |\n| \u003ca name=\"output_enabled\"\u003e\u003c/a\u003e [enabled](#output\\_enabled) | Whether the module is enabled. |\n| \u003ca name=\"output_environment\"\u003e\u003c/a\u003e [environment](#output\\_environment) | The environment input. |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | Generated ID based on label\\_order. |\n| \u003ca name=\"output_labels\"\u003e\u003c/a\u003e [labels](#output\\_labels) | Map of labels for use with hcloud resources. |\n| \u003ca name=\"output_labels_as_list\"\u003e\u003c/a\u003e [labels\\_as\\_list](#output\\_labels\\_as\\_list) | Labels as a list of key-value objects. |\n| \u003ca name=\"output_managed_by\"\u003e\u003c/a\u003e [managed\\_by](#output\\_managed\\_by) | The managed\\_by input. |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name input. |\n| \u003ca name=\"output_owner\"\u003e\u003c/a\u003e [owner](#output\\_owner) | The owner input. |\n| \u003ca name=\"output_project\"\u003e\u003c/a\u003e [project](#output\\_project) | The project input. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\nMozilla Public License 2.0 - see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-hc-modules%2Fterraform-hcloud-labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraform-hc-modules%2Fterraform-hcloud-labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraform-hc-modules%2Fterraform-hcloud-labels/lists"}