-
Notifications
You must be signed in to change notification settings - Fork 82
Add Hetzner Cloud server template example #560
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
|
@matifali @DevelopmentCats please review |
|
Also drop a comment so I know what you think |
|
@DevelopmentCats @matifali pls take a look |
|
Hi @Excellencedev, there is an existing PR #426 addressing the same issue. I will let @DevelopmentCats take a look at that first, and if that does not solve the issue, we can happily review your PR. Thank you. |
|
@matifali the other pr is having problems currently |
|
@matifali The CI should pass now. Please approve workflows and review |
|
Oh, I needed to change avatar to a .png @matifali |
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 new Hetzner Cloud server template to the Coder registry, enabling users to provision Linux-based workspaces on Hetzner Cloud infrastructure with configurable server types and locations.
Key changes:
- Terraform configuration for provisioning Hetzner Cloud servers with persistent volumes
- Dynamic server type selection based on location availability
- Cloud-init configuration for automated workspace setup
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| registry/Excellencedev/templates/hetzner-linux/main.tf | Core Terraform configuration defining server resources, volumes, and Coder integration |
| registry/Excellencedev/templates/hetzner-linux/cloud-config.yaml.tftpl | Cloud-init template for server initialization and Coder agent setup |
| registry/Excellencedev/templates/hetzner-linux/README.md | Documentation describing template usage and prerequisites |
| registry/Excellencedev/README.md | Author profile metadata for the registry |
| .icons/hetzner.svg | Hetzner logo SVG for template branding |
| .github/typos.toml | Added "hel" exception for Helsinki location code |
| registry/Excellencedev/templates/hetzner-linux/hetzner_server_types.json | Server type metadata and location availability mapping |
registry/Excellencedev/templates/hetzner-linux/cloud-config.yaml.tftpl
Outdated
Show resolved
Hide resolved
…ml.tftpl Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@matifali I have committed suggestion from Copilot |
|
@matifali Have you tested it ? |
Description
This PR adds a template example for the Hetzner Cloud Sever.
This video shows the provisioning of multiple hetzner instances in coder with dynamic param enabled, running simultaneously and shown in the Hetzner console, checking labels on both the OS Filesystem and on the hetzner console and then shutting down through coder demonstrating clean up on hetzner and deleting workspaces without errors
DEMO VIDEO: https://drive.google.com/file/d/1JkhjszCRM9K27XDlMi_2nXtJosoflns_/view?usp=sharing
Type of Change
Template Information
Path:
registry/Excellencedev/templates/hetzner-linuxTesting & Validation
bun test)bun fmt)Related Issues
/closes #209
/claim #209