Point syncthing.jeremydormitzer.com at packer syncthing droplet
This commit is contained in:
parent
52a3b47e05
commit
fe1dde4ffe
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user