aboutsummaryrefslogtreecommitdiffstats
path: root/terraform.nix
diff options
context:
space:
mode:
Diffstat (limited to 'terraform.nix')
-rw-r--r--terraform.nix16
1 files changed, 16 insertions, 0 deletions
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 <fysiweb>) fysilib lib;
+in
+fysilib.terraform.eval (import <fysiweb/terraform.nix> {
+ resource = {
+ hcloud_server.system1 = {
+ name = "system1";
+ server_type = "cx11";
+ location = "nbg1";
+ image = "\${data.hcloud_image.base.id}";
+ ssh_keys = [
+ "fysiweb-cli"
+ ];
+ };
+ };
+})