Template:Suaws

From wikieduonline
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: