From c7660953d47919460f8e97415ba82e4bcd07b3f6 Mon Sep 17 00:00:00 2001 From: Mathieu Cloutier Date: Mon, 14 Oct 2024 21:20:01 -0600 Subject: [PATCH] specify region_name for boto client --- tests/test_apigateway/test_apigateway_custom_ids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_apigateway/test_apigateway_custom_ids.py b/tests/test_apigateway/test_apigateway_custom_ids.py index 095e551b8d11..3bfdc544c566 100644 --- a/tests/test_apigateway/test_apigateway_custom_ids.py +++ b/tests/test_apigateway/test_apigateway_custom_ids.py @@ -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} )