Difference between revisions of "Suaws"

From wikieduonline
Jump to navigation Jump to search
 
(7 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 ==
Line 16: Line 8:
 
* <code>[[.bash_profile]], [[.zprofile]]</code>
 
* <code>[[.bash_profile]], [[.zprofile]]</code>
 
* <code>[[whoamiaws]]</code>
 
* <code>[[whoamiaws]]</code>
* <code>[[aws-ec2-describe-instances-all-regions]]</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: