From 2897fa6f194065430d23880da6b3652e7182834a Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Mon, 28 Dec 2020 23:13:43 +0100
Subject: [PATCH] tf-stage1/archlinux: Pull homedir.al.org IP addresses from
 hcloud

---
 tf-stage1/archlinux.tf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tf-stage1/archlinux.tf b/tf-stage1/archlinux.tf
index e367459dd..880f49796 100644
--- a/tf-stage1/archlinux.tf
+++ b/tf-stage1/archlinux.tf
@@ -310,8 +310,8 @@ locals {
   #
   pkgbuild_com_a_aaaa = {
     "@" = {
-      ipv4_address = "78.46.178.133"
-      ipv6_address = "2a01:4f8:c2c:51e2::1"
+      ipv4_address = hcloud_server.machine["homedir.archlinux.org"].ipv4_address
+      ipv6_address = hcloud_server.machine["homedir.archlinux.org"].ipv6_address
     }
     "america.mirror" = {
       ipv4_address = "143.244.34.62"
@@ -346,8 +346,8 @@ locals {
       ipv6_address = "2a02:6ea0:c238::2"
     }
     www = {
-      ipv4_address = "78.46.178.133"
-      ipv6_address = "2a01:4f8:c2c:51e2::1"
+      ipv4_address = hcloud_server.machine["homedir.archlinux.org"].ipv4_address
+      ipv6_address = hcloud_server.machine["homedir.archlinux.org"].ipv6_address
     }
   }
 }
-- 
GitLab