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 f0517cd commit 64ef43bCopy full SHA for 64ef43b
multi-arch-builders/provisioning/aarch64/main.tf
@@ -135,8 +135,9 @@ resource "aws_instance" "coreos-aarch64-builder" {
135
volume_size = "200"
136
volume_type = "gp3"
137
}
138
+ associate_public_ip_address = var.distro == "fcos" ? "true" : "false"
139
140
141
output "instance_ip_addr" {
- value = aws_instance.coreos-aarch64-builder.private_ip
142
+ value = var.distro == "rhcos" ? aws_instance.coreos-aarch64-builder.private_ip : aws_instance.coreos-aarch64-builder.public_ip
143
0 commit comments