Add netlify records

This commit is contained in:
Jake Howard 2020-03-20 21:38:18 +00:00
parent c328cca4dd
commit 0d84df3e68
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -83,3 +83,27 @@ resource "cloudflare_record" "theorangeonenet_dkim_fm3" {
type = "CNAME" type = "CNAME"
ttl = 1 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
}