bugfix: display other envs than 'dev'
This commit is contained in:
@ -54,11 +54,11 @@ function getAWSenv --description 'verify and set environment'
|
||||
end
|
||||
if [ $aws_account_id = $DEV_ACCOUNT_ID ]
|
||||
set -g env dev
|
||||
else if [ $aws_account_id = $STG_ACCOUNT_ID]
|
||||
else if [ $aws_account_id = $STG_ACCOUNT_ID ]
|
||||
set -g env stg
|
||||
else if [ $aws_account_id = $PROD_ACCOUNT_ID]
|
||||
else if [ $aws_account_id = $PROD_ACCOUNT_ID ]
|
||||
set -g env prod
|
||||
else if [ $aws_account_id = $OPS_ACCOUNT_ID]
|
||||
else if [ $aws_account_id = $OPS_ACCOUNT_ID ]
|
||||
set -g env ops
|
||||
else
|
||||
set -ge env
|
||||
|
||||
Reference in New Issue
Block a user