Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS: Lambda Layer + Cross-Account filter #6824

Closed
mchon89 opened this issue Jul 26, 2021 · 0 comments · Fixed by #6827
Closed

AWS: Lambda Layer + Cross-Account filter #6824

mchon89 opened this issue Jul 26, 2021 · 0 comments · Fixed by #6827
Assignees
Labels

Comments

@mchon89
Copy link

mchon89 commented Jul 26, 2021

the bug:
botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the GetLayerVersionPolicy operation: No policy is associated with the given resource

it looks like custodian is not able to make a GetLayerVersionPolicy API call.

Background (please complete the following information):

  • OS: Mac OS Catalina
  • Python Version: 3.7.3
  • Custodian Version: 0.9.10
  • Cloud Provider: aws
policies: 
   - name: lambda-layer-cross-account
      resource: aws.lambda-layer
      filters:
      - type: cross-account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants