Skip to content

Commit 76f9e94

Browse files
authored
Update aws-ssm-ssh-proxy-command.sh
1 parent e1e24d9 commit 76f9e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ec2-instance-connect/aws-ssm-ssh-proxy-command.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ssh_public_key_path="$4"
1515
REGION_SEPARATOR='--'
1616
if echo "$instance_id" | grep -q -e "${REGION_SEPARATOR}"
1717
then
18-
export AWS_DEFAULT_REGION="${instance_id##*"$REGION_SEPARATOR"}"
18+
export AWS_REGION="${instance_id##*"$REGION_SEPARATOR"}"
1919
instance_id="${instance_id%%"$REGION_SEPARATOR"*}"
2020
fi
2121

0 commit comments

Comments
 (0)