Skip to content

Commit 44e98bc

Browse files
jsonbaileyclaude
andcommitted
chore: Set default values for all documented optional env vars in example env files
Extend the previous commit's rule to every documented optional env var in the example .env.example files: if the comment says "defaults to X", the value is set to X inline and the comment is reworded to "Override...". This covers AWS_DEFAULT_REGION in the bedrock example, which had the same os.getenv(key, default) vs dotenv-loads-empty-string bug as the LaunchDarkly config-key vars. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d2c5af5 commit 44e98bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

getting_started/bedrock/converse/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ LAUNCHDARKLY_SDK_KEY=
55
AWS_ACCESS_KEY_ID=
66
AWS_SECRET_ACCESS_KEY=
77

8-
# Optional - defaults to "us-east-1"
9-
AWS_DEFAULT_REGION=
8+
# Override to use a different AWS region
9+
AWS_DEFAULT_REGION=us-east-1
1010

1111
# Override to use a different AI Config
1212
LAUNCHDARKLY_COMPLETION_KEY=sample-completion

0 commit comments

Comments
 (0)