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 415b28e commit aac2d6e
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 @@ -114,7 +114,7 @@ def test_create_or_update_user_secret_overwrites(self):
@patch("postgres.manage_users.psycopg2.connect")
@mock_aws
def test_handler(self, mock_connect, mock_create_or_update_db_user):
secretsmanager = boto3.client("secretsmanager")
secretsmanager = boto3.client("secretsmanager", region_name="eu-west-2")
secret_id = secretsmanager.create_secret(
Name=self.secret_name, SecretString=self.secret_string
)["ARN"]
Expand Down

0 comments on commit aac2d6e

Please sign in to comment.