File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ 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 10 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
6666 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)
You can’t perform that action at this time.
0 commit comments