feat: make dynamic locations & server types on Hetzner template#618
Merged
DevelopmentCats merged 6 commits intocoder:mainfrom Jan 6, 2026
Merged
feat: make dynamic locations & server types on Hetzner template#618DevelopmentCats merged 6 commits intocoder:mainfrom
DevelopmentCats merged 6 commits intocoder:mainfrom
Conversation
9509609 to
f08be6e
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the Hetzner template by replacing static location and server type configurations with dynamic data fetched from Hetzner Cloud API endpoints. This eliminates the need for manual maintenance of a local JSON file and ensures the template always reflects current Hetzner offerings.
Key Changes:
- Added hashicorp/http provider to fetch data from Hetzner Cloud API
- Replaced static location options with dynamic options built from API response
- Replaced JSON file-based server types with dynamic API-fetched data
- Implemented filtering to exclude deprecated server types automatically
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
DevelopmentCats
approved these changes
Jan 6, 2026
Collaborator
DevelopmentCats
left a comment
There was a problem hiding this comment.
This works perfectly for me after testing this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Make Server Types & Locations dynamic based on API endpoints provided by Hetzner Docs.
Type of Change
Template Information
Path:
registry/Excellencedev/templates/hetzner-linuxTesting & Validation
bun test)bun fmt)