Track new linode instance in terraform

The definition is pretty verbose. Apparently it does that if you create it through the UI
This commit is contained in:
Jake Howard
2020-12-05 13:25:50 +00:00
parent 6d75272d34
commit 48e23e8c00
6 changed files with 50 additions and 2 deletions

View File

@ -136,7 +136,7 @@ resource "cloudflare_record" "theorangeonenet_upload" {
resource "cloudflare_record" "theorangeonenet_plausible" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "plausible"
value = vultr_server.casey.main_ip
value = linode_instance.grimes.ip_address
type = "A"
ttl = 1
}
@ -144,7 +144,7 @@ resource "cloudflare_record" "theorangeonenet_plausible" {
resource "cloudflare_record" "theorangeonenet_plausible_bare" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "elbisualp"
value = vultr_server.casey.main_ip
value = linode_instance.grimes.ip_address
type = "A"
ttl = 1
}