-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Add discovery-ec2 integration test for AZ attr
#118452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add discovery-ec2 integration test for AZ attr
#118452
Conversation
Verifies that the plugin sets the `aws_availability_zone` automatically by reading the AZ name from the IMDS at startup.
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
| import java.util.function.BiConsumer; | ||
| import java.util.function.Supplier; | ||
|
|
||
| public class Ec2ImdsServiceBuilder { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this change is moving the creation of the Ec2ImdsHttpHandler from a regular constructor with an increasing parameter list (most of which will be a sensible default value) into this builder. Not obviously all that important when there's only 4 params, but more are on their way soon enough.
Verifies that the plugin sets the `aws_availability_zone` automatically by reading the AZ name from the IMDS at startup.
💚 Backport successful
|
Verifies that the plugin sets the `aws_availability_zone` automatically by reading the AZ name from the IMDS at startup.
…astic#118541) Verifies that the plugin sets the `aws_availability_zone` automatically by reading the AZ name from the IMDS at startup.
…astic#118541) Verifies that the plugin sets the `aws_availability_zone` automatically by reading the AZ name from the IMDS at startup.
Verifies that the plugin sets the
aws_availability_zonenode attributeautomatically by reading the AZ name from the IMDS at startup.