From 4f9beb0b393cd3869fcdfc0c62d072a9aa6d377e Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Thu, 1 Sep 2022 16:47:06 -0400 Subject: [PATCH] docs: add warning about changing region config (#14443) --- website/content/docs/configuration/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/docs/configuration/index.mdx b/website/content/docs/configuration/index.mdx index fb57fa81d..e5fa62ac7 100644 --- a/website/content/docs/configuration/index.mdx +++ b/website/content/docs/configuration/index.mdx @@ -301,6 +301,12 @@ testing. with potentially multiple zones, which map to [datacenters](#datacenter) such as `us-west` and `us-east`. + !> **Be Careful!** Changing the `region` of an agent with data stored in its + `data_dir` may result in overwrite and data loss in the new region so avoid + modifying this value after the agent starts. If you must change it, make sure + no local state remains from the previous region before running the agent + again. + - `sentinel` `(`[`Sentinel`]`: nil)` - Specifies configuration for Sentinel policies.