From 0d84df3e686bc88128ecf73b9373ec43d783e8af Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 20 Mar 2020 21:38:18 +0000 Subject: [PATCH] Add netlify records --- terraform/theorangeone.net.tf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/terraform/theorangeone.net.tf b/terraform/theorangeone.net.tf index e58b685..a3e25aa 100644 --- a/terraform/theorangeone.net.tf +++ b/terraform/theorangeone.net.tf @@ -83,3 +83,27 @@ resource "cloudflare_record" "theorangeonenet_dkim_fm3" { type = "CNAME" ttl = 1 } + +resource "cloudflare_record" "theorangeonenet_www" { + zone_id = cloudflare_zone.theorangeonenet.id + name = "www" + value = "theorangeone-net.netlify.com" + type = "CNAME" + ttl = 1 +} + +resource "cloudflare_record" "theorangeonenet_apex" { + zone_id = cloudflare_zone.theorangeonenet.id + name = "@" + value = "theorangeone-net.netlify.com" + type = "CNAME" + ttl = 1 +} + +resource "cloudflare_record" "theorangeonenet_snippets" { + zone_id = cloudflare_zone.theorangeonenet.id + name = "snippets" + value = "too-snippets.netlify.com" + type = "CNAME" + ttl = 1 +}