From 02ee6d0596cd0157ee1e0dc3b6ba5711caf55d51 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 6 Jan 2025 12:16:27 +1100 Subject: [PATCH] aws - shield - mark all resources as global (#9901) There's only a us-east-1 endpoint, and it lists protections even for region-specific resources. --- c7n/resources/shield.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c7n/resources/shield.py b/c7n/resources/shield.py index f580beea909..ba921595972 100644 --- a/c7n/resources/shield.py +++ b/c7n/resources/shield.py @@ -20,6 +20,7 @@ class resource_type(TypeInfo): name = 'Name' arn = False config_type = 'AWS::Shield::Protection' + global_resource = True @resources.register('shield-attack') @@ -35,6 +36,7 @@ class resource_type(TypeInfo): filter_name = 'ResourceArns' filter_type = 'list' arn = False + global_resource = True def get_protections_paginator(client):