From 7e88fb2b26ba2c1a3aeaaaa21fe839f1a43bcc8b Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 14 Feb 2024 05:34:12 +0100 Subject: init --- terraform.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 terraform.nix (limited to 'terraform.nix') diff --git a/terraform.nix b/terraform.nix new file mode 100644 index 0000000..70d4104 --- /dev/null +++ b/terraform.nix @@ -0,0 +1,16 @@ +let + inherit (import ) fysilib lib; +in +fysilib.terraform.eval (import { + resource = { + hcloud_server.system1 = { + name = "system1"; + server_type = "cx11"; + location = "nbg1"; + image = "\${data.hcloud_image.base.id}"; + ssh_keys = [ + "fysiweb-cli" + ]; + }; + }; +}) -- cgit v1.2.3