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 4ead1e9 commit e1e24d9Copy full SHA for e1e24d9
ec2-instance-connect/aws-ssm-ssh-proxy-command.ps1
@@ -17,7 +17,7 @@ $REGION_SEPARATOR = "--"
17
$splitted_instance = $instance_id -split $REGION_SEPARATOR
18
if ($splitted_instance.Length -gt 1) {
19
$instance_id = $splitted_instance[0]
20
- $env:AWS_DEFAULT_REGION = $splitted_instance[1]
+ $env:AWS_REGION = $splitted_instance[1]
21
}
22
23
Write-Output "Add public key $ssh_public_key_path for $ssh_user at instance $instance_id for 60 seconds"
0 commit comments