#!/bin/bash IP=`curl ifconfig.co` echo 'home_ip = "'$IP'"' > var_homeip.tfvar