From 8d54650d062fca615fd4b4fcad7cbae4a05af5c5 Mon Sep 17 00:00:00 2001 From: Svend Sorensen Date: Thu, 27 Jun 2019 10:35:54 -0700 Subject: [PATCH] Document behavior of empty ec2_sd_config region (#5711) Document the behavior of an empty `ec2_sd_config` `region` setting. If this is omitted or blank, the region is discovered from the instance metadata, if available. If it is blank and instance region metadata is not available, an error will result ("EC2 SD configuration requires a region"). Signed-off-by: Svend Sorensen --- docs/configuration/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index a831f66a6..054832144 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -439,8 +439,8 @@ See below for the configuration options for EC2 discovery: ```yaml # The information to access the EC2 API. -# The AWS Region. -region: +# The AWS region. If blank, the region from the instance metadata is used. +[ region: ] # Custom endpoint to be used. [ endpoint: ]