Skip to content

Instantly share code, notes, and snippets.

@parshyn-dima
Created January 5, 2021 19:50
Show Gist options
  • Save parshyn-dima/39395a052c69ace7ba2fb055389d930f to your computer and use it in GitHub Desktop.
Save parshyn-dima/39395a052c69ace7ba2fb055389d930f to your computer and use it in GitHub Desktop.
output "external_ip_address_app" {
value = yandex_compute_instance.app.network_interface.0.nat_ip_address
}
output "external_ip_address_app2" {
value = yandex_compute_instance.app2.network_interface.0.nat_ip_address
}
output "external_ip_address_lb" {
value = yandex_lb_network_load_balancer.reddit_app_lb.listener.*.external_address_spec[0].*.address
}
output "external_port_lb" {
value = yandex_lb_network_load_balancer.reddit_app_lb.listener.*.port
}
output "target_port_lb" {
value = yandex_lb_network_load_balancer.reddit_app_lb.listener.*.target_port
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment