From 02c3562030c97d0f2946c14d41e49907abb81016 Mon Sep 17 00:00:00 2001 From: spengreb Date: Mon, 23 Jan 2023 20:54:55 +0100 Subject: [PATCH] add condition for broadcast server --- dns.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns.tf b/dns.tf index bad731c..e799a7c 100644 --- a/dns.tf +++ b/dns.tf @@ -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}" } \ No newline at end of file