chore: cleanup + bugfixes

This commit is contained in:
2020-10-10 10:10:52 +02:00
parent 0eda7db10e
commit b21a66462f
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'\