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

[replay] Fix get secrets from AWS Secrets Manager #679

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 src/SimpleReplay/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,8 +1399,8 @@ def get_connection_credentials(username, database=None, max_attempts=10, skip_ca
time.sleep(retry_delay_sec)
else:
break
db_user = response['DbUser']
db_password = response['DbPassword']
db_user = response['DbUser']
db_password = response['DbPassword']
else:
rs_client = client("redshift", region_name=g_config.get("target_cluster_region", None), **additional_args)
for attempt in range(1, max_attempts + 1):
Expand Down