Point syncthing.jeremydormitzer.com at packer syncthing droplet

This commit is contained in:
Jeremy Dormitzer 2020-12-31 14:58:30 -05:00
parent 52a3b47e05
commit fe1dde4ffe
2 changed files with 2 additions and 2 deletions

View File

@ -39,6 +39,6 @@ data "terraform_remote_state" "syncthing" {
region = "us-east-1"
endpoint = "nyc3.digitaloceanspaces.com"
bucket = "jdormit-tf-state"
key = "prod/syncthing.tfstate"
key = "prod/syncthing-packer.tfstate"
}
}

View File

@ -80,7 +80,7 @@ resource "digitalocean_record" "syncthing" {
domain = digitalocean_domain.jeremydormitzer_com.name
type = "A"
name = "syncthing"
value = data.terraform_remote_state.syncthing.outputs.syncthing_ip_address
value = data.terraform_remote_state.syncthing.outputs.ip_address
ttl = 3600
}