aboutsummaryrefslogtreecommitdiff
path: root/terraform/concourse/dns.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/concourse/dns.tf')
-rw-r--r--terraform/concourse/dns.tf10
1 files changed, 10 insertions, 0 deletions
diff --git a/terraform/concourse/dns.tf b/terraform/concourse/dns.tf
new file mode 100644
index 0000000..68e1764
--- /dev/null
+++ b/terraform/concourse/dns.tf
@@ -0,0 +1,10 @@
+data "linode_domain" "root" {
+ domain = "trygvis.io"
+}
+
+resource "linode_domain_record" "concourse-vpn" {
+ domain_id = data.linode_domain.root.id
+ name = "concourse.vpn"
+ record_type = "CNAME"
+ target = local.domain_name
+}