We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b35435 commit f6f401fCopy full SHA for f6f401f
infra/terraform/media_relay/main.tf
@@ -141,9 +141,7 @@ output "instance_id" {
141
142
output "elastic_ip" {
143
description = "Elastic IP address associated with the relay"
144
- value = var.existing_eip_allocation_id != null
145
- ? data.aws_eip.existing[0].public_ip
146
- : aws_eip.mediamtx[0].public_ip
+ value = var.existing_eip_allocation_id != null ? data.aws_eip.existing[0].public_ip : aws_eip.mediamtx[0].public_ip
147
}
148
149
output "public_dns" {
0 commit comments