Last active
April 18, 2018 08:53
-
-
Save bwinant/20f3dbf135d2f218ae2e517703b5db1f to your computer and use it in GitHub Desktop.
Usefult AWS CLI bits
This file contains hidden or 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
# Get account id | |
aws sts get-caller-identity --output text --query 'Account' | |
# Get CF exported values | |
aws cloudformation list-exports | jq '.Exports[] | "\(.Name) = \(.Value)"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment