elasticsearch/plugins/discovery-ec2
Artem Prigoda 0acff18c57
Set read timeout for fetching IMDSv2 token (#104407)
Resubmit of #104397 without setting AWS_METADATA_SERVICE_TIMEOUT randomly in the build.

```
    Use the timeout set by AWS_METADATA_SERVICE_TIMEOUT environment variable both as connect and read timeout analogous to the AWS SDK.
    See https://docs.aws.amazon.com/sdkref/latest/guide/feature-ec2-instance-metadata.html
```

Resolves #104244
2024-01-17 11:08:31 +01:00
..
config/discovery-ec2 Hide c.a.s.s.i.UseArnRegionResolver noise (#62522) 2020-09-18 08:30:21 +01:00
licenses Update log4j2 LICENSE and NOTICE files (#93611) 2023-02-09 08:53:43 -05:00
qa Add JUnit rule based integration test cluster orchestration framework (#92379) 2022-12-21 15:33:46 -08:00
src Set read timeout for fetching IMDSv2 token (#104407) 2024-01-17 11:08:31 +01:00
build.gradle Revert "Set read timeout for fetching IMDSv2 token" (#104397) 2024-01-16 12:58:50 +01:00