We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e514e7 commit aac2385Copy full SHA for aac2385
aws-ssm-ssh-proxy-command.sh
@@ -19,7 +19,7 @@ ssh_user="$2"
19
ssh_port="$3"
20
ssh_public_key_path="$4"
21
22
-ec2InstanceIdPattern='^i-[0-9a-f]{8,17}$'
+ec2InstanceIdPattern='^m?i-[0-9a-f]{8,17}$'
23
if [[ $instance_name =~ $ec2InstanceIdPattern ]]; then
24
instance_id=$instance_name
25
else
0 commit comments