Sample terraform usage for creating a single virtual machine on Hetzner Cloud with nginx installed and one domain with let's encrypt using aws route53 dns for certification
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
header.png
main.tf
template.vhosts.conf
terraform.tfvars.example
variables.tf

README.md

terraform-hcloud-route53-letsencrypt

header

Sample terraform usage for creating a single virtual machine on Hetzner Cloud with nginx installed and one domain with let's encrypt using aws route53 dns for certification

Usage

Rename terraform.tfvars.example to terraform.tfvars

Populate terraform.tfvars with real values

Then, terraform init && terraform plan to see if everything will be created as needed.

Execute terraform:

terraform apply

Italian tutorial

https://www.nutellino.it/2018/08/05/terraform-hetzner-cloud-route-53-e-lets-encrypt/