Skip to content

Commit

Permalink
Move IAM Policy Tags augment to describe class
Browse files Browse the repository at this point in the history
  • Loading branch information
trastle committed Jul 5, 2021
1 parent 2c6fddd commit e3100ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions c7n/resources/iam.py
Expand Up @@ -390,6 +390,9 @@ def get_resources(self, resource_ids, cache=True):
continue
return results

def augment(self, resources):
return universal_augment(self.manager, super().augment(resources))


@resources.register('iam-policy')
class Policy(QueryResourceManager):
Expand All @@ -412,8 +415,6 @@ class resource_type(TypeInfo):
'config': ConfigSource
}

augment = universal_augment


class PolicyQueryParser(QueryParser):

Expand Down

0 comments on commit e3100ae

Please sign in to comment.