Skip to content

Commit

Permalink
Try passing in the region in another place
Browse files Browse the repository at this point in the history
  • Loading branch information
WillGibson committed Nov 12, 2024
1 parent aac2d6e commit 1229a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/tests/test_manage_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_handler(self, mock_connect, mock_create_or_update_db_user):

handler(self.event, self.context)

user_password = json.loads(boto3.client("ssm").get_parameter(Name=self.secret_name, WithDecryption=True)["Parameter"]["Value"])[
user_password = json.loads(boto3.client("ssm", region_name="eu-west-2").get_parameter(Name=self.secret_name, WithDecryption=True)["Parameter"]["Value"])[
"password"
]

Expand Down

0 comments on commit 1229a07

Please sign in to comment.