Difference between revisions of "Suaws"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
[[suaws]] () {
+
{{suaws}}
  if [ -z "$1" ]; then
 
          echo "possible values: $([[aws configure list-profiles]])"
 
    else
 
      [[export]] [[AWS_PROFILE]]=$1
 
      export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '
 
  fi
 
}
 
 
 
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[SHELL]], [[PS1]]</code>
 
* <code>[[SHELL]], [[PS1]]</code>
 
* <code>[[aws configure list]]</code>
 
* <code>[[aws configure list]]</code>
* <code>[[.bash_profile]]</code>
+
* <code>[[.bash_profile]], [[.zprofile]]</code>
 
* <code>[[whoamiaws]]</code>
 
* <code>[[whoamiaws]]</code>
 +
* [[AWS functions]]: <code>[[aws-ec2-describe-instances-all-regions]]</code>
 +
* <code>[[su]]</code>
  
 
== See also ==
 
== See also ==
* {{aws cli}}
+
* {{aws configure}}
* {{aws cloudformation}}
+
* {{Bash}}
* {{CloudFormation}}
 
 
 
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 10:04, 22 November 2023

Advertising: