![]() ![]() To instruct Terraform how to setup and configure your servers, create a main.tf file: # main.tfĭescription = "Local path to your public key"ĭescription = "Name of your public key to identify at Hetzner Cloud portal"ĭescription = "vServer type name, lookup via `hcloud server-type list`"ĭescription = "Desired datacenter location name, lookup via `hcloud datacenter list`" Step 3 – Terraform configuration □ Step 3.1 – Required configuration files ![]() Building the binary in rescue mode on the vServer will fail, if there is not enough space on the initramfs (like on cx11). The resulting binary will later be copied by Terraform to the vServer in rescue mode, so you have to move it as coreos-installer into your working directory. Therefore, you need to install rust’s package manager cargo and build the binary on a linux-machine with cargo install -target-dir. Step 2 – Build coreos-installer □Ĭurrently the coreos-installer is not available as a binary. ![]() Now execute terraform init to install the Terraform Hetzner Cloud Provider. terraform-coreos, and create a versions.tf file with the following content: # versions.tf Step 1 – Install Terraform Hetzner Cloud ProviderĬreate a new folder as the working directory for the next steps, e.g. Hetzner Cloud API token generated at Hetzner Cloud Console.Basic knowledge about the Hetzner Cloud.This tutorial will guide you how to provision vServer machines at Hetzner Cloud with the latest version of Fedora CoreOS, using Terraform Infrastructure as Code (IaC). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |