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

Make use of ssm parameter for rds replica host #8

Open
wants to merge 1 commit into
base: ms-update-with-replica
Choose a base branch
from

Conversation

OlamideOl1
Copy link
Contributor

Pass in the RDS replica host using an ssm parameter

@OlamideOl1 OlamideOl1 changed the base branch from main to ms-update-with-replica November 15, 2022 14:12
@OlamideOl1 OlamideOl1 marked this pull request as ready for review November 15, 2022 14:27
@OlamideOl1 OlamideOl1 requested a review from jferris as a code owner November 15, 2022 14:27

if REPLICA_HOST_PARAM:
# Fetch database replica url
replica_url_parameter = ssm_client.get_parameter(Name=REPLICA_HOST_PARAM, WithDecryption=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add something to the IAM policy to support this API request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants