{"id":21901377,"url":"https://github.com/zoro16/terraform-hcloud-floating-ip","last_synced_at":"2025-09-08T07:34:12.064Z","repository":{"id":196491514,"uuid":"695624976","full_name":"zoro16/terraform-hcloud-floating-ip","owner":"zoro16","description":"Terraform module to provision `Floating IP` resources in Hetzner Cloud.","archived":false,"fork":false,"pushed_at":"2023-09-25T11:13:07.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T06:17:13.361Z","etag":null,"topics":["hetzner","hetzner-cloud","hetzner-floating-ip","terraform-hcloud-floating-ip","terraform-module"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/zoro16/floating-ip/hcloud/latest","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/zoro16.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-23T18:28:25.000Z","updated_at":"2023-09-27T15:19:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a69736f3-4754-443d-bad7-fd6f606ef2ae","html_url":"https://github.com/zoro16/terraform-hcloud-floating-ip","commit_stats":null,"previous_names":["zoro16/terraform-hcloud-floating-ip"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zoro16/terraform-hcloud-floating-ip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-floating-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-floating-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-floating-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-floating-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoro16","download_url":"https://codeload.github.com/zoro16/terraform-hcloud-floating-ip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoro16%2Fterraform-hcloud-floating-ip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274152290,"owners_count":25231288,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["hetzner","hetzner-cloud","hetzner-floating-ip","terraform-hcloud-floating-ip","terraform-module"],"created_at":"2024-11-28T15:13:22.217Z","updated_at":"2025-09-08T07:34:12.018Z","avatar_url":"https://github.com/zoro16.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nTerraform module to provision `Floating IP` resources in Hetzner Cloud.\n\n\n\n## Usage\n\n```hcl\n# Configure the Hetzner Cloud Provider\nprovider \"hcloud\" {\n  token = var.hcloud_token\n}\n\n\nmodule \"sv\" {\n  source  = \"zoro16/server/hcloud\"\n  version = \"1.0.0\"\n\n  create_server = true\n}\n\n\nmodule \"floating\" {\n  source = \"../../\"\n\n  create_floating_ip = true\n\n  floating_ip_name          = \"some-floating-ip\"\n  floating_ip_type          = \"ipv4\"\n  floating_ip_server_id     = 0\n  floating_ip_home_location = \"fsn1\"\n  floating_ip_description   = \"some description\"\n  floating_ip_labels = {\n    \"name\" : \"cool-floating-ip\"\n  }\n  floating_ip_delete_protection = false\n}\n\nmodule \"floating_assignment\" {\n  source = \"../../\"\n\n  create_floating_ip_assignment = true\n\n  floating_ip_assignment_floating_ip_id = module.floating.floating_ip_id\n  floating_ip_assignment_server_id      = module.sv.server_id\n\n}\n\n```\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.2.0 |\n| \u003ca name=\"requirement_hcloud\"\u003e\u003c/a\u003e [hcloud](#requirement\\_hcloud) | \u003e= 1.42.1 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_hcloud\"\u003e\u003c/a\u003e [hcloud](#provider\\_hcloud) | \u003e= 1.42.1 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [hcloud_floating_ip.floating](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/floating_ip) | resource |\n| [hcloud_floating_ip_assignment.floating_assignment](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/floating_ip_assignment) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_create_floating_ip\"\u003e\u003c/a\u003e [create\\_floating\\_ip](#input\\_create\\_floating\\_ip) | A boolean to check whether to create a Floating IP or not. | `bool` | `false` | no |\n| \u003ca name=\"input_create_floating_ip_assignment\"\u003e\u003c/a\u003e [create\\_floating\\_ip\\_assignment](#input\\_create\\_floating\\_ip\\_assignment) | A boolean to check whether to create a Floating IP Assignment or not. | `bool` | `false` | no |\n| \u003ca name=\"input_floating_ip_assignment_floating_ip_id\"\u003e\u003c/a\u003e [floating\\_ip\\_assignment\\_floating\\_ip\\_id](#input\\_floating\\_ip\\_assignment\\_floating\\_ip\\_id) | The ID of the Floating IP to be assigned. | `number` | `null` | no |\n| \u003ca name=\"input_floating_ip_assignment_server_id\"\u003e\u003c/a\u003e [floating\\_ip\\_assignment\\_server\\_id](#input\\_floating\\_ip\\_assignment\\_server\\_id) | The Server to assign the Floating IP to. | `number` | `null` | no |\n| \u003ca name=\"input_floating_ip_delete_protection\"\u003e\u003c/a\u003e [floating\\_ip\\_delete\\_protection](#input\\_floating\\_ip\\_delete\\_protection) | Enable or disable delete protection. | `bool` | `false` | no |\n| \u003ca name=\"input_floating_ip_description\"\u003e\u003c/a\u003e [floating\\_ip\\_description](#input\\_floating\\_ip\\_description) | Description of the Floating IP. | `string` | `\"\"` | no |\n| \u003ca name=\"input_floating_ip_home_location\"\u003e\u003c/a\u003e [floating\\_ip\\_home\\_location](#input\\_floating\\_ip\\_home\\_location) | Name of home location (routing is optimized for that location). Optional if server\\_id argument is passed. | `string` | `\"\"` | no |\n| \u003ca name=\"input_floating_ip_labels\"\u003e\u003c/a\u003e [floating\\_ip\\_labels](#input\\_floating\\_ip\\_labels) | User-defined labels (key-value pairs) should be created with. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_floating_ip_name\"\u003e\u003c/a\u003e [floating\\_ip\\_name](#input\\_floating\\_ip\\_name) | Name of the Floating IP to be created. | `string` | `\"\"` | no |\n| \u003ca name=\"input_floating_ip_server_id\"\u003e\u003c/a\u003e [floating\\_ip\\_server\\_id](#input\\_floating\\_ip\\_server\\_id) | Server to assign the Floating IP to. | `number` | `null` | no |\n| \u003ca name=\"input_floating_ip_type\"\u003e\u003c/a\u003e [floating\\_ip\\_type](#input\\_floating\\_ip\\_type) | Type of the Floating IP. `ipv4` or `ipv6` | `string` | `\"ipv4\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_floating_ip_assignment_floating_ip_id\"\u003e\u003c/a\u003e [floating\\_ip\\_assignment\\_floating\\_ip\\_id](#output\\_floating\\_ip\\_assignment\\_floating\\_ip\\_id) | The ID of the Floating IP to be assigned. |\n| \u003ca name=\"output_floating_ip_assignment_id\"\u003e\u003c/a\u003e [floating\\_ip\\_assignment\\_id](#output\\_floating\\_ip\\_assignment\\_id) | Unique ID of the Floating IP Assginment. |\n| \u003ca name=\"output_floating_ip_assignment_server_id\"\u003e\u003c/a\u003e [floating\\_ip\\_assignment\\_server\\_id](#output\\_floating\\_ip\\_assignment\\_server\\_id) | The Server to assign the Floating IP to. |\n| \u003ca name=\"output_floating_ip_delete_protection\"\u003e\u003c/a\u003e [floating\\_ip\\_delete\\_protection](#output\\_floating\\_ip\\_delete\\_protection) | Enable or disable delete protection. |\n| \u003ca name=\"output_floating_ip_description\"\u003e\u003c/a\u003e [floating\\_ip\\_description](#output\\_floating\\_ip\\_description) | Description of the Floating IP. |\n| \u003ca name=\"output_floating_ip_home_location\"\u003e\u003c/a\u003e [floating\\_ip\\_home\\_location](#output\\_floating\\_ip\\_home\\_location) | Name of home location (routing is optimized for that location). Optional if server\\_id argument is passed. |\n| \u003ca name=\"output_floating_ip_id\"\u003e\u003c/a\u003e [floating\\_ip\\_id](#output\\_floating\\_ip\\_id) | Unique ID of the Floating IP. |\n| \u003ca name=\"output_floating_ip_ip_address\"\u003e\u003c/a\u003e [floating\\_ip\\_ip\\_address](#output\\_floating\\_ip\\_ip\\_address) | IP Address of the Floating IP. |\n| \u003ca name=\"output_floating_ip_ip_network\"\u003e\u003c/a\u003e [floating\\_ip\\_ip\\_network](#output\\_floating\\_ip\\_ip\\_network) | IPv6 subnet. (Only set if type is ipv6) |\n| \u003ca name=\"output_floating_ip_labels\"\u003e\u003c/a\u003e [floating\\_ip\\_labels](#output\\_floating\\_ip\\_labels) | User-defined labels (key-value pairs) should be created with. |\n| \u003ca name=\"output_floating_ip_name\"\u003e\u003c/a\u003e [floating\\_ip\\_name](#output\\_floating\\_ip\\_name) | Name of the Floating IP to be created. |\n| \u003ca name=\"output_floating_ip_server_id\"\u003e\u003c/a\u003e [floating\\_ip\\_server\\_id](#output\\_floating\\_ip\\_server\\_id) | Server to assign the Floating IP to. |\n| \u003ca name=\"output_floating_ip_type\"\u003e\u003c/a\u003e [floating\\_ip\\_type](#output\\_floating\\_ip\\_type) | Type of the Floating IP. `ipv4` or `ipv6` |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoro16%2Fterraform-hcloud-floating-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoro16%2Fterraform-hcloud-floating-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoro16%2Fterraform-hcloud-floating-ip/lists"}