Point jeremydormitzer.com at netlify

This commit is contained in:
Jeremy Dormitzer 2020-12-10 14:59:38 -05:00
parent ff35428c7a
commit a6ad8aec39

View File

@ -14,15 +14,15 @@ resource "digitalocean_record" "top_level_a" {
domain = digitalocean_domain.jeremydormitzer_com.name
type = "A"
name = "@"
value = data.terraform_remote_state.jdormit_website.outputs.jdormit_website_ip_address
value = "104.198.14.52" # Netlify load balancer
ttl = 3600
}
resource "digitalocean_record" "www" {
domain = digitalocean_domain.jeremydormitzer_com.name
type = "A"
type = "CNAME"
name = "www"
value = data.terraform_remote_state.jdormit_website.outputs.jdormit_website_ip_address
value = "keen-varahamihira-4f3922.netlify.app."
ttl = 3600
}