bugfix: make fish 3.3. compatible

This commit is contained in:
2022-02-17 10:07:30 +01:00
parent cff3e24b92
commit e4939853d6
5 changed files with 123 additions and 114 deletions

View File

@ -5,6 +5,11 @@ function ssm_tunnel --description 'access private AWS ressources via Bastion Hos
return
end
if [ "$env" != "ops" ]
echo "Switch to OPS ENV first"
return
end
# Get bastion host ID using it's name
set INSTANCE_ID (aws ec2 describe-instances \
--filter 'Name=tag:Name,Values=ops-infrastructure-bastion'\