Skip to content

Commit d831dee

Browse files
authored
Merge pull request #27 from nalmar/main
2 small corrections
2 parents 4d332c4 + 2bdb24f commit d831dee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws-ssm-ssh-proxy-command.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if ($splitted_instance.Length -gt 1) {
3838
$env:AWS_REGION = $splitted_instance[1]
3939
}
4040

41-
if ($instance_name -match $ec2InstanceIdPattern) {
41+
if ($instance_name -match $INSTANCE_ID_PATTERN) {
4242
$instance_id = $instance_name
4343
} else {
4444
$instance_id = Get-InstanceId -instanceName $instance_name

aws-ssm-ssh-proxy-command.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env sh
1+
#!/usr/bin/env bash
22
set -eu
33

44
################################################################################

0 commit comments

Comments
 (0)