hetznercloud / terraform-provider-hcloud

Terraform Hetzner Cloud provider
https://registry.terraform.io/providers/hetznercloud/hcloud/latest
Mozilla Public License 2.0
479 stars 72 forks source link

[Feature]: implement "managed certificates" into hcloud_certificate #896

Closed ministry-of-code closed 3 months ago

ministry-of-code commented 3 months ago

What whould you like to see?

If I read and understand the current documentation correctly, there is currently no way to manage "managed certificates" (Letsencrypt certs that are being ordered and auto-renewed from Hetzner and can be attached to load balancer instances) with Terraform and it would be great if you could implement that.

apricote commented 3 months ago

Check out hcloud_managed_certificate for Managed Certificates. Managed and uploaded certs have drastically different fields, so using separate terraform resources makes it easier to use and to implement.

We should update the docs for hcloud_certificate to point to both resources 👍

ministry-of-code commented 3 months ago

Thanks for pointing me to the right resource! I just did a search for "terraform Hetzner certificates" that was linked to the documentation and I didn't recognised the other "managed" resource at all because the navigation bar with that topic was collapsed.