chore: cleanup + bugfixes

This commit is contained in:
--global
2020-10-10 10:10:52 +02:00
parent 06d7d7801d
commit cace53e9ea
6 changed files with 10 additions and 26 deletions

View File

@ -5,11 +5,6 @@ function ssm_tunnel --description 'access private AWS ressources via Bastion Hos
return
end
#if [ "$AWS_PROFILE" != "twaice-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'\