Skip to content

Conversation

@Excellencedev
Copy link

@Excellencedev Excellencedev commented Nov 23, 2025

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

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Template Information

Path: registry/Excellencedev/templates/hetzner-linux

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

/closes #209
/claim #209

@Excellencedev
Copy link
Author

@matifali @DevelopmentCats please review

@Excellencedev
Copy link
Author

Also drop a comment so I know what you think

@Excellencedev
Copy link
Author

@DevelopmentCats @matifali pls take a look

@matifali
Copy link
Member

matifali commented Dec 2, 2025

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.

@Excellencedev
Copy link
Author

@matifali the other pr is having problems currently
can you please at least look at mine
THANKS!

@Excellencedev
Copy link
Author

@matifali The CI should pass now. Please approve workflows and review

@Excellencedev
Copy link
Author

Excellencedev commented Dec 13, 2025

Oh, I needed to change avatar to a .png @matifali
It should pass now

Copy link
Contributor

Copilot AI left a 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

…ml.tftpl

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Excellencedev
Copy link
Author

@matifali I have committed suggestion from Copilot
What's next step in reviewing ?

@Excellencedev
Copy link
Author

@matifali Have you tested it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hetzner Cloud server template example

2 participants