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() {
60
60
then
61
61
# This plug-in may not be executing in an AWS VPC or have access to the IDMS
62
62
# 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" )
64
64
if [ -n " ${token} " ]
65
65
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" )
67
67
fi
68
68
fi
69
69
if [ -z " ${guess_region} " ]
You can’t perform that action at this time.
0 commit comments