aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yandex/server/outputs.tf
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-08-08 13:34:37 +0200
committerEgor Tensin <egor@tensin.name>2026-08-08 15:57:55 +0200
commit60761aa1c4da6bc5e0063a7248651041a24400cf (patch)
tree19cfbf1d2dbd4ecceeb1c69791531fe682b9e781 /yandex/server/outputs.tf
parentMerge pull request #1 from egor-tensin/dependabot/github_actions/dflook/terra... (diff)
downloadinfra-terraform-no_floating_ips.tar.gz
infra-terraform-no_floating_ips.zip
move away from reserved to dynamic IPs for VMsno_floating_ips
I've been having trouble with UDP traffic & DigitalOcean's reserved IPs, so let's try to use dynamic IPs I guess.
Diffstat (limited to 'yandex/server/outputs.tf')
-rw-r--r--yandex/server/outputs.tf3
1 files changed, 3 insertions, 0 deletions
diff --git a/yandex/server/outputs.tf b/yandex/server/outputs.tf
index 3573a80..0a98259 100644
--- a/yandex/server/outputs.tf
+++ b/yandex/server/outputs.tf
@@ -1,3 +1,6 @@
output "instance_id" {
value = yandex_compute_instance.this.id
}
+output "instance_ip" {
+ value = yandex_compute_instance.this.network_interface.0.nat_ip_address
+}