ecr-cleaner | Serverless implementation for removing old images | Serverless library

 by   trek10inc JavaScript Version: Current License: MIT

kandi X-RAY | ecr-cleaner Summary

kandi X-RAY | ecr-cleaner Summary

ecr-cleaner is a JavaScript library typically used in Serverless applications. ecr-cleaner has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A Serverless implementation for removing old images from ECR Repositories with some intelligence.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ecr-cleaner has a low active ecosystem.
              It has 78 star(s) with 10 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 4 have been closed. On average issues are closed in 59 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ecr-cleaner is current.

            kandi-Quality Quality

              ecr-cleaner has 0 bugs and 0 code smells.

            kandi-Security Security

              ecr-cleaner has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ecr-cleaner code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ecr-cleaner is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ecr-cleaner releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ecr-cleaner
            Get all kandi verified functions for this library.

            ecr-cleaner Key Features

            No Key Features are available at this moment for ecr-cleaner.

            ecr-cleaner Examples and Code Snippets

            No Code Snippets are available at this moment for ecr-cleaner.

            Community Discussions

            Trending Discussions on ecr-cleaner

            QUESTION

            Ansible Cloudwatch rule reports failed invocations
            Asked 2018-May-20 at 18:56

            I have created an AWS lambda that works well when I test it and when I create a cron job manually through a cloudwatch rule.

            It reports metrics as invocations (not failed) and also logs with details about the execution.

            Then I decided to remove that manually created cloudwatch rule in order to create one with ansible.

            ...

            ANSWER

            Answered 2017-Sep-22 at 12:59

            I've lost hours with this too, same error and same confusion (Why there isn't a log for failed invokations?), I'm going to share my ""solution"", it will solve the problem to someone, and will help others to debug and find the ultimate solution.

            Note: Be carefull, this could allow any AWS account execute your lambda functions

            Since you got invoke the function by creating the rule target manually, I assume you added the invoke permission to the lambda from CloudWatch, however it looks like the Source Account ID is different when the event is created by cli/api and when is created by de AWS dashboard/console

            If you are adding the Source Account condition in the lambda invoke permission from principal "events.amazonaws.com" to prevent any AWS account execute your lambdas just remove it (under your responsability!).

            So, if your lambda policy looks like this:

            Source https://stackoverflow.com/questions/43364956

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ecr-cleaner

            Requires Serverless to be installed (Project currently Serverless v0.5.x). With admin credentials for your account in the cloned directory serverless project init. Otherwise, generate CF template and deploy resources manually with console serverless project init -c (Doesn't execute CF, just generates it). Install Dependencies cd main && npm install. Setup environment variables... (Be sure to remove the comments!).

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/trek10inc/ecr-cleaner.git

          • CLI

            gh repo clone trek10inc/ecr-cleaner

          • sshUrl

            git@github.com:trek10inc/ecr-cleaner.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Serverless Libraries

            Try Top Libraries by trek10inc

            awsume

            by trek10incPython

            aws-lambda-debugger

            by trek10incJavaScript

            serverless-secrets

            by trek10incJavaScript

            awsets

            by trek10incGo

            ddb-single-table-example

            by trek10incPython