{"id":13703029,"url":"https://github.com/selfscrum/terraform-hcloud-routeros-router","last_synced_at":"2025-05-05T07:30:32.553Z","repository":{"id":156355678,"uuid":"312692884","full_name":"selfscrum/terraform-hcloud-routeros-router","owner":"selfscrum","description":"Terraform code to seamlessly integrate a RouterOS router into a Hetzner Cloud network.","archived":false,"fork":false,"pushed_at":"2020-11-16T22:16:04.000Z","size":240,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T10:37:48.000Z","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/selfscrum.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-13T21:59:14.000Z","updated_at":"2024-10-29T22:28:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e55f03f-91bf-4ec0-803b-ced5c5513390","html_url":"https://github.com/selfscrum/terraform-hcloud-routeros-router","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfscrum%2Fterraform-hcloud-routeros-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfscrum%2Fterraform-hcloud-routeros-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfscrum%2Fterraform-hcloud-routeros-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfscrum%2Fterraform-hcloud-routeros-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selfscrum","download_url":"https://codeload.github.com/selfscrum/terraform-hcloud-routeros-router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252458316,"owners_count":21751014,"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-08-02T21:00:49.206Z","updated_at":"2025-05-05T07:30:32.547Z","avatar_url":"https://github.com/selfscrum.png","language":"HCL","funding_links":[],"categories":["Integrations"],"sub_categories":["Rust"],"readme":"# terraform-hcloud-routeros-router\n\nTerraform code to seamlessly integrate a RouterOS router into a Hetzner Cloud network.\n\nMikrotik.com provides a software-based router solution as a boot image, which we use here to build fully automated a router box in Hetzner Cloud. \n\nTerraform provisioniers enable this automation. The installation code relies on an underlying Ubuntu-18.04 on the to-be-installed router as well as on the terraform runner node. The code is tested with Terraform Cloud but should work in local environments too.\nPrerequisite is the availability of a C Compiler for the downloaded `sshpass` command. It needs to be built on the spot since Terraform Cloud allows no persistent custom environments.\n\nWhen running in TFC, the code is here a little flaky since it requires Terraform Cloud runners to provide an Ubuntu environment which is not a guaranteed property of Terraform Cloud. Local runners should work well since you can control how they are set up.\n\nAs well, we do have of course the 1-2 seconds interval where we have RouterOS running with an unprotected admin account in the cloud since the softare comes with an admin account with password. However, the code will create a reasonable secured router configuration much quicker than a human operator can.\n\nSee [selfscrum/terraform-hcloud-routeros-router-configuration](https://github.com/selfscrum/terraform-hcloud-routeros-router-configuration) for an additional simple  router configuration module.\n\nEnjoy!\n-selfscrum\n\n![](terraform-hcloud-routeros-router.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfscrum%2Fterraform-hcloud-routeros-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfscrum%2Fterraform-hcloud-routeros-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfscrum%2Fterraform-hcloud-routeros-router/lists"}