-
Notifications
You must be signed in to change notification settings - Fork 63
feat: add Hetzner Cloud server template #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive Hetzner Cloud server template for Coder workspaces that supports dynamic server configuration, persistent storage, and networking.
- Implements dynamic server configuration through JSON metadata for server types, locations, and images
- Provides server type/location validation to prevent invalid resource combinations
- Creates persistent volumes for home directories that survive workspace restarts with proper lifecycle management
Reviewed Changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
registry/melmathari/templates/hetzner-cloud/main.tf | Main Terraform configuration implementing the Hetzner Cloud template with dynamic parameters, validation, and resource provisioning |
registry/melmathari/templates/hetzner-cloud/hetzner-config.json | JSON configuration defining available server types, locations, images, and availability constraints |
registry/melmathari/templates/hetzner-cloud/cloud-config.yaml.tftpl | Cloud-init template for server initialization and Coder agent setup |
registry/melmathari/templates/hetzner-cloud/README.md | Comprehensive documentation covering setup, configuration, troubleshooting, and usage |
registry/melmathari/README.md | Author profile and bio information |
.github/typos.toml | Updated spell checker configuration to allow Hetzner-specific terms |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@melmathari, you should be able to run |
@matifali I just did, just checked my logs from yesterday I didn't use write, so was under the assumption that it already did so before I committed. Happy to take another look if anything else pops up. Appreciate your time and feedback. |
@matifali Apologies as i'm new to the project, i accidentally named the folder images instead of .images. Also saw that the other checks now all passed, which is great. Appreciate your time. |
Closes #209
Description
Create Terraform template for Hetzner Cloud servers with networking and volumes
Type of Change
Testing & Validation
bun test
)bun run fmt
)/claim #209
Files & Resources
plan.debug
.terraform.lock.zip
Video
Please note in the video the memory size of certain servers was not set properly. I have updated this in the last version.
chrome_bL0ejpcoui.mp4