File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ s3_bucket_region() {
6060 then
6161 # This plug-in may not be executing in an AWS VPC or have access to the IDMS
6262 # Fail fast with the --connect-timeout flag
63- local token=$( curl -X PUT -H " X-aws-ec2-metadata-token-ttl-seconds: 60" --fail --silent --show-error --location --connect-timeout 5 http://169.254.169.254/latest/api/token)
63+ local token=$( curl -X PUT -H " X-aws-ec2-metadata-token-ttl-seconds: 60" --fail --silent --show-error --location --connect-timeout 5 " http://169.254.169.254/latest/api/token" )
6464 if [ -n " ${token} " ]
6565 then
66- guess_region=$( curl -H " X-aws-ec2-metadata-token: $token " --fail --silent --show-error --location http://169.254.169.254/latest/meta-data/placement/region)
66+ guess_region=$( curl -H " X-aws-ec2-metadata-token: $token " --fail --silent --show-error --location " http://169.254.169.254/latest/meta-data/placement/region" )
6767 fi
6868 fi
6969 if [ -z " ${guess_region} " ]
You can’t perform that action at this time.
0 commit comments