Skip to content

Commit

Permalink
specify region_name for boto client
Browse files Browse the repository at this point in the history
  • Loading branch information
cloutierMat committed Oct 15, 2024
1 parent 57a057b commit c766095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_apigateway/test_apigateway_custom_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_custom_id_api_key(set_custom_id):
def test_create_rest_api_with_custom_id_tag():
rest_api_name = "rest_api"
api_id = "testTagId"
client = boto3.client("apigateway")
client = boto3.client("apigateway", region_name="us-west-2")
rest_api = client.create_rest_api(
name=rest_api_name, tags={TAG_KEY_CUSTOM_ID: api_id}
)
Expand Down

0 comments on commit c766095

Please sign in to comment.