From 95e98a4b2472ef5c68935e06659bcd73523f9f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 22 Jul 2025 17:12:02 +0200 Subject: [PATCH 1/4] [DOCS] Tags discovery.ec2.protocol as removed in 9.1. --- docs/reference/elasticsearch-plugins/discovery-ec2-usage.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md index b5a69bb65f368..721156a8eeb50 100644 --- a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md +++ b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md @@ -45,6 +45,9 @@ The available settings for the EC2 discovery plugin are as follows. `discovery.ec2.endpoint` : The EC2 service endpoint to which to connect. See [https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region](https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region) to find the appropriate endpoint for the region. This setting defaults to `ec2.us-east-1.amazonaws.com` which is appropriate for clusters running in the `us-east-1` region. +`discovery.ec2.protocol` {applies_to} `stack: removed 9.1` +: The protocol to use to connect to the EC2 service endpoint, which may be either `http` or `https`. Defaults to `https`. + `discovery.ec2.proxy.host` : The address or host name of an HTTP proxy through which to connect to EC2. If not set, no proxy is used. From f5f1c41f3b86071868eeee5c21d7b5c464588e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Tue, 22 Jul 2025 17:33:05 +0200 Subject: [PATCH 2/4] Adds frontmatter applies_to. --- docs/reference/elasticsearch-plugins/discovery-ec2-usage.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md index 721156a8eeb50..eb1a4f73e3fe3 100644 --- a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md +++ b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md @@ -1,4 +1,6 @@ --- +applies_to: + stack: ga mapped_pages: - https://www.elastic.co/guide/en/elasticsearch/plugins/current/discovery-ec2-usage.html --- @@ -45,7 +47,7 @@ The available settings for the EC2 discovery plugin are as follows. `discovery.ec2.endpoint` : The EC2 service endpoint to which to connect. See [https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region](https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region) to find the appropriate endpoint for the region. This setting defaults to `ec2.us-east-1.amazonaws.com` which is appropriate for clusters running in the `us-east-1` region. -`discovery.ec2.protocol` {applies_to} `stack: removed 9.1` +`discovery.ec2.protocol` {applies_to}`stack: removed 9.1` : The protocol to use to connect to the EC2 service endpoint, which may be either `http` or `https`. Defaults to `https`. `discovery.ec2.proxy.host` From 25d447cb973183cd41f49add498d4e89c0109866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 23 Jul 2025 10:43:59 +0200 Subject: [PATCH 3/4] Changes lifecycle statement to deprecated. --- docs/reference/elasticsearch-plugins/discovery-ec2-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md index eb1a4f73e3fe3..9dff5fa6db117 100644 --- a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md +++ b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md @@ -47,7 +47,7 @@ The available settings for the EC2 discovery plugin are as follows. `discovery.ec2.endpoint` : The EC2 service endpoint to which to connect. See [https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region](https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region) to find the appropriate endpoint for the region. This setting defaults to `ec2.us-east-1.amazonaws.com` which is appropriate for clusters running in the `us-east-1` region. -`discovery.ec2.protocol` {applies_to}`stack: removed 9.1` +`discovery.ec2.protocol` {applies_to}`stack: deprecated 9.1` : The protocol to use to connect to the EC2 service endpoint, which may be either `http` or `https`. Defaults to `https`. `discovery.ec2.proxy.host` From 34d0a065417622d3fda9a5fcd2de6ed8db5bfac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 23 Jul 2025 13:27:28 +0200 Subject: [PATCH 4/4] Addresses feedback. --- docs/reference/elasticsearch-plugins/discovery-ec2-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md index 9dff5fa6db117..3c15b853d428d 100644 --- a/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md +++ b/docs/reference/elasticsearch-plugins/discovery-ec2-usage.md @@ -48,7 +48,7 @@ The available settings for the EC2 discovery plugin are as follows. : The EC2 service endpoint to which to connect. See [https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region](https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region) to find the appropriate endpoint for the region. This setting defaults to `ec2.us-east-1.amazonaws.com` which is appropriate for clusters running in the `us-east-1` region. `discovery.ec2.protocol` {applies_to}`stack: deprecated 9.1` -: The protocol to use to connect to the EC2 service endpoint, which may be either `http` or `https`. Defaults to `https`. +: The protocol to use to connect to the EC2 service endpoint, which may be either `http` or `https`. Defaults to `https`. This setting does not operate from version 9.1 and higher. `discovery.ec2.proxy.host` : The address or host name of an HTTP proxy through which to connect to EC2. If not set, no proxy is used.