Last active
December 23, 2017 06:05
-
-
Save eekfonky/b22908beb45cb128e917c4e77487dcc6 to your computer and use it in GitHub Desktop.
Check if AWS configure is set
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
| #!/bin/bash | |
| # Check AWS credentials exist | |
| if [[ $(aws configure list | grep "*") && $? -eq 0 ]]; then | |
| echo "Please configure AWS credentials to continue..." | |
| aws configure | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment