Skip to content

Commit

Permalink
aws - efs-mount-point - network-location filter (#8347)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheidelbaugh committed Mar 9, 2023
1 parent 6e71af1 commit 5738733
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion c7n/resources/efs.py
Expand Up @@ -7,7 +7,7 @@
from c7n.filters.kms import KmsRelatedFilter
from c7n.filters import Filter
from c7n.manager import resources
from c7n.filters.vpc import SecurityGroupFilter, SubnetFilter
from c7n.filters.vpc import SecurityGroupFilter, SubnetFilter, NetworkLocation
from c7n.filters.policystatement import HasStatementFilter
from c7n.query import (
QueryResourceManager, ChildResourceManager, TypeInfo, DescribeSource, ConfigSource
Expand Down Expand Up @@ -100,6 +100,9 @@ def get_related_ids(self, resources):
return list(group_ids)


@ElasticFileSystemMountTarget.filter_registry.register('network-location', NetworkLocation)


@ElasticFileSystem.filter_registry.register('kms-key')
class KmsFilter(KmsRelatedFilter):

Expand Down

0 comments on commit 5738733

Please sign in to comment.