AWS functions

From wikieduonline
Revision as of 08:58, 31 July 2022 by Thomas (talk | contribs) (Created page with " {{suaws}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


 suaws () {
 if [ -z "$1" ]; then
         echo "Possible values: $(aws configure list-profiles)"
   else
     export AWS_PROFILE=$1
     export PS1='[\u@\h $AWS_PROFILE]\$ '
 fi
}

Advertising: