github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/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