add condition for broadcast server

This commit is contained in:
spengreb 2023-01-23 20:54:55 +01:00
parent 622ddc656f
commit 02c3562030

2
dns.tf
View file

@ -26,5 +26,5 @@ resource "digitalocean_record" "icecast" {
type = "A"
name = "icecast"
ttl = 30
value = "${aws_instance.broadcast.public_ip}"
value = "${aws_instance.broadcast[0].public_ip}"
}