Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AWS_OPEN_SEARCH_HOST in base config #39

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ and then specifies environment variables for:
`Config` also sets the following configuration properties but `AWSConfig` inherits from `Config` and instead of reading these from environment variables, reads them from AWS parameter store:

- `AWS_REGION`: The AWS region used for AWS services.
- `AWS_OPENSEARCH_INDEX`: The OpenSearch index used for your application.
- `AWS_OPENSEARCH_HOST`: The hostname of the OpenSearch service.
- `AWS_OPEN_SEARCH_INDEX`: The OpenSearch index used for your application.
- `AWS_OPEN_SEARCH_HOST`: The hostname of the OpenSearch service.
- `AWS_OPEN_SEARCH_USERNAME`: The username for OpenSearch authentication.
- `AWS_OPEN_SEARCH_PASSWORD`: The password for OpenSearch authentication.
- `KEYCLOAK_BASE_URI`: The base URI of the Keycloak authentication service.
Expand Down
4 changes: 2 additions & 2 deletions configs/base_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class Config(object):
SERVICE_URL = os.getenv("SERVICE_URL", "")
AWS_REGION = os.getenv("AWS_REGION", "")
AWS_OPEN_SEARCH_INDEX = os.getenv("AWS_OPEN_SEARCH_INDEX", "")
AWS_OPEN_SEARCH_USERNAME = os.getenv("AWS_OPEN_SEARCH_HOST", "")
AWS_OPEN_SEARCH_PASSWORD = os.getenv("AWS_OPEN_SEARCH_PASSWORD", "")
AWS_OPEN_SEARCH_HOST = os.getenv("AWS_OPEN_SEARCH_HOST", "")
AWS_OPEN_SEARCH_USERNAME = os.getenv("AWS_OPEN_SEARCH_USERNAME", "")
AWS_OPEN_SEARCH_PASSWORD = os.getenv("AWS_OPEN_SEARCH_PASSWORD", "")
KEYCLOAK_BASE_URI = os.getenv("KEYCLOAK_BASE_URI", "")
KEYCLOAK_CLIENT_ID = os.getenv("KEYCLOAK_CLIENT_ID", "")
KEYCLOAK_REALM_NAME = os.getenv("KEYCLOAK_REALM_NAME", "")
Expand Down
Loading