github.com/terraform-modules-krish/terratest@v0.29.0/examples/terraform-remote-exec-example/files/get-public-ip.sh (about) 1 #!/bin/bash 2 3 # For example purposes, print the public IP address of this instance 4 wget -q -O- http://169.254.169.254/latest/meta-data/public-ipv4 5