From 00f8c72a75b87b13124f35e361862663f2d96a94 Mon Sep 17 00:00:00 2001 From: waynetaylor Date: Mon, 15 Nov 2021 16:34:11 -0600 Subject: [PATCH 1/2] Updating docs with AWS_REGION comment and references to configuration.md for limiting services and regions --- docs/Projects/Magpie/configuration.md | 2 +- docs/Projects/Magpie/getting-started.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Projects/Magpie/configuration.md b/docs/Projects/Magpie/configuration.md index 186cb99..8c7857b 100644 --- a/docs/Projects/Magpie/configuration.md +++ b/docs/Projects/Magpie/configuration.md @@ -54,7 +54,7 @@ credentials as needed. Magpie will create all required tables at startup. ```yaml magpie.persist: - enabled: false + enabled: true config: hostname: localhost port: 5432 diff --git a/docs/Projects/Magpie/getting-started.md b/docs/Projects/Magpie/getting-started.md index 49cab5c..52c70a3 100644 --- a/docs/Projects/Magpie/getting-started.md +++ b/docs/Projects/Magpie/getting-started.md @@ -29,6 +29,12 @@ default config and provides no AWS credentials. - Credentials can be added at runtime via volume mapping or passing environmental variables into the container. - Configuration overrides can be done via environmental variable. +- Ensure AWS_REGION is set in your AWS Configuration otherwise you will receive +- Use MAGPIE_CONFIG environment variable to configure the plugins and regions you want to execute. See configuration section for more details + +``` +Region must be specified either via environment variable (AWS_REGION) or system property (aws.region) +``` For example: to pass environmental variables for both credentials and configuration: ```bash From 5591cf2eb9abe92375e194870efae28c8ae4292e Mon Sep 17 00:00:00 2001 From: waynetaylor Date: Mon, 15 Nov 2021 16:36:44 -0600 Subject: [PATCH 2/2] Reformatting of file --- docs/Projects/Magpie/getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Projects/Magpie/getting-started.md b/docs/Projects/Magpie/getting-started.md index 52c70a3..10d251a 100644 --- a/docs/Projects/Magpie/getting-started.md +++ b/docs/Projects/Magpie/getting-started.md @@ -30,12 +30,13 @@ default config and provides no AWS credentials. - Credentials can be added at runtime via volume mapping or passing environmental variables into the container. - Configuration overrides can be done via environmental variable. - Ensure AWS_REGION is set in your AWS Configuration otherwise you will receive -- Use MAGPIE_CONFIG environment variable to configure the plugins and regions you want to execute. See configuration section for more details ``` Region must be specified either via environment variable (AWS_REGION) or system property (aws.region) ``` +- Use MAGPIE_CONFIG environment variable to configure the plugins and regions you want to execute. See configuration section for more details + For example: to pass environmental variables for both credentials and configuration: ```bash docker run -a stdout -a stderr \