From 1f68ef294780464df0f2a8ee924b90870a76b735 Mon Sep 17 00:00:00 2001 From: Craig Buckler Date: Thu, 4 Jan 2024 18:48:37 +0000 Subject: [PATCH] additional domain name --- index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/index.ts b/index.ts index 6d590029..7afaa89b 100644 --- a/index.ts +++ b/index.ts @@ -64,6 +64,19 @@ const dnsZone = new gcp.dns.ManagedZone(managedZoneName, { description: "Managed zone for " + domainName, }); + +// Define another domain name and a suitable name for the managed zone +const domainNameCom = "teztnets.com"; +const managedZoneNameCom = "teztnetscom-zone"; + +// Create a managed DNS zone +const dnsZoneCom = new gcp.dns.ManagedZone(managedZoneNameCom, { + name: managedZoneNameCom, + dnsName: domainNameCom + ".", + description: "Managed zone for " + domainNameCom, +}); + + // GitHub Pages IP addresses // Create A records for each GitHub Pages IP