about summary refs log tree commit diff
path: root/users/wpcarro/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/nixos')
-rw-r--r--users/wpcarro/nixos/diogenes/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/diogenes/default.nix b/users/wpcarro/nixos/diogenes/default.nix
index b253dd3a24ad..b5fa822b7269 100644
--- a/users/wpcarro/nixos/diogenes/default.nix
+++ b/users/wpcarro/nixos/diogenes/default.nix
@@ -24,6 +24,12 @@ in wpcarro.terraform.googleCloudVM {
       managed_zone = "\${google_dns_managed_zone.${name}.name}";
       rrdatas = ["\${google_compute_instance.${name}.network_interface[0].access_config[0].nat_ip}"];
     };
+
+    resource.google_compute_instance."${name}" = {
+      network_interface.access_config = {
+        public_ptr_domain_name = domainName;
+      };
+    };
   };
 
   configuration = {