From acbe904eac573b246603560b77a565a0e23e7738 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Fri, 28 Jun 2024 10:11:55 -0700 Subject: [PATCH] Do not test opsworks collections --- tests/integration/test_collections.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/test_collections.py b/tests/integration/test_collections.py index ceb4ff19c1..1cd7e976ff 100644 --- a/tests/integration/test_collections.py +++ b/tests/integration/test_collections.py @@ -27,6 +27,7 @@ 'ec2': ['images'], 'iam': ['signing_certificates'], 'sqs': ['dead_letter_source_queues'], + 'opsworks': [], } @@ -35,6 +36,9 @@ def all_collections(): # except those which have been blocklisted. session = boto3.session.Session() for service_name in session.get_available_resources(): + if BLOCKLIST.get(service_name, None) == []: + continue + resource = session.resource( service_name, region_name=REGION_MAP.get(service_name, 'us-west-2') )