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 d384e64 commit 9e514e7Copy full SHA for 9e514e7
aws-ssm-ssh-proxy-command.ps1
@@ -29,7 +29,7 @@ $ssh_user = $args[1]
29
$ssh_port = $args[2]
30
$ssh_public_key_path = $args[3]
31
32
-$ec2InstanceIdPattern = '^i-[0-9a-f]{8,17}$'
+$ec2InstanceIdPattern = '^m?i-[0-9a-f]{8,17}$'
33
if ($instance_name -match $ec2InstanceIdPattern) {
34
$instance_id = $instance_name
35
} else {
0 commit comments