summaryrefslogtreecommitdiff
path: root/plugins/aws/aws.plugin.zsh
diff options
context:
space:
mode:
authorLogan Lindquist <logan@llbbl.com>2019-03-24 13:46:27 -0500
committerMarc Cornellà <marc.cornella@live.com>2019-03-24 19:46:27 +0100
commit8cbdd79517d710e5bab6ce7aca0754b37462f2ee (patch)
tree685826dd2336f6d882a050273d597a756af45e17 /plugins/aws/aws.plugin.zsh
parent532a784b806375370022605d8be17c1116553572 (diff)
downloadzsh-8cbdd79517d710e5bab6ce7aca0754b37462f2ee.tar.gz
zsh-8cbdd79517d710e5bab6ce7aca0754b37462f2ee.tar.bz2
zsh-8cbdd79517d710e5bab6ce7aca0754b37462f2ee.zip
aws: set AWS_EB_PROFILE for the EB CLI (#7388)
Added AWS_EB_PROFILE environment variable to the AWS Plugin. The EB CLI uses this variable instead of the primary AWS_PROFILE variable to keep track of what profile it is using. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html
Diffstat (limited to 'plugins/aws/aws.plugin.zsh')
-rw-r--r--plugins/aws/aws.plugin.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh
index 2fb351812..944557e14 100644
--- a/plugins/aws/aws.plugin.zsh
+++ b/plugins/aws/aws.plugin.zsh
@@ -7,6 +7,7 @@ function agp {
function asp {
export AWS_DEFAULT_PROFILE=$1
export AWS_PROFILE=$1
+ export AWS_EB_PROFILE=$1
if [[ -z "$1" ]]; then
echo AWS profile cleared.