We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e24d9 commit 76f9e94Copy full SHA for 76f9e94
ec2-instance-connect/aws-ssm-ssh-proxy-command.sh
@@ -15,7 +15,7 @@ ssh_public_key_path="$4"
15
REGION_SEPARATOR='--'
16
if echo "$instance_id" | grep -q -e "${REGION_SEPARATOR}"
17
then
18
- export AWS_DEFAULT_REGION="${instance_id##*"$REGION_SEPARATOR"}"
+ export AWS_REGION="${instance_id##*"$REGION_SEPARATOR"}"
19
instance_id="${instance_id%%"$REGION_SEPARATOR"*}"
20
fi
21
0 commit comments