diff --git a/lib/facter/util/resolvers/aws_token.rb b/lib/facter/util/resolvers/aws_token.rb index c7081655ae..ce34eb5c42 100644 --- a/lib/facter/util/resolvers/aws_token.rb +++ b/lib/facter/util/resolvers/aws_token.rb @@ -23,7 +23,7 @@ def get(lifetime = 100) 'X-aws-ec2-metadata-token-ttl-seconds' => lifetime.to_s } - @token = Facter::Util::Resolvers::Http.put_request(AWS_API_TOKEN_URL, headers) + @token = Facter::Util::Resolvers::Http.put_request(AWS_API_TOKEN_URL, headers, {}, false) end def reset