Last active
August 29, 2015 14:23
-
-
Save ryanmaclean/b50450d272f97f43c919 to your computer and use it in GitHub Desktop.
Get IP Address for a given OpsWorks Layer Instance ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws opsworks --region us-east-1 describe-instances --instance-ids 82hu7s86-ff57-4fc8-0000-f3cb364b125e | grep PrivateIp | awk -F '"' '{print $4}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment