{"by":"brennoo","descendants":13,"id":42748095,"kids":[42772161,42767830,42767846],"score":90,"text":"Hi HN,<p>I’ve been building this provider for (web managed) network switches manufactured by HRUI. These switches often used in SMBs, home labs, and by budget-conscious enthusiasts. Many HRUI switches are also rebranded and sold under various OEM&#x2F;ODM names (eg. Horaco, XikeStor, keepLiNK, Sodola, etc) making them accessible&#x2F;popular but often overlooked in the world of infrastructure automation.<p>The provider is in pre-release, and I’m looking for owners of these switches to test it and share feedback. My goal is to make it easier to automate its config using Terraform&#x2F;OpenTofu :)<p>You can use this provider to configure VLANs, port settings, trunk&#x2F;link aggregation etc.<p>I built this provider to address the lack of automation tools for budget-friendly hardware. It leverage goquery and has an internal SDK sitting between the Terraform resources and the switch Web UI.<p>If you have one of these switches, I’d love for you to give it a try and let me know how it works for you!<p><pre><code>    Terraform Registry: https:&#x2F;&#x2F;registry.terraform.io&#x2F;providers&#x2F;brennoo&#x2F;hrui\n    OpenTofu Provider: https:&#x2F;&#x2F;search.opentofu.org&#x2F;provider&#x2F;brennoo&#x2F;hrui\n</code></pre>\nI’m happy to answer any questions about the provider or the hardware it supports. Feedback, bug reports, and ideas for improvement are more than welcome!","time":1737206055,"title":"Show HN: Terraform Provider for Inexpensive Switches","type":"story","url":"https://github.com/brennoo/terraform-provider-hrui"}