Giter Site home page Giter Site logo

Comments (3)

redian avatar redian commented on July 28, 2024

Thats precisely the error i get when running the newrelic-lambda-cli on aws codepipeline:

Screenshot 2019-12-12 at 11 03 34

from newrelic-lambda-cli.

kolanos avatar kolanos commented on July 28, 2024

Hi @gtmtech, thanks for reporting this issue. The --aws-profile argument is optional and if not set boto3 should revert to its default configuration behavior. Is CodePipeline using the same meta service mechanism as EC2? What environment variables (if any) have been set in a CodePipeline context?

from newrelic-lambda-cli.

kolanos avatar kolanos commented on July 28, 2024

Believe I found the issue. --aws-profile defaults to default which appears to prevent the meta service lookup:
https://github.com/newrelic/newrelic-lambda-cli/blob/master/newrelic_lambda_cli/cli/decorators.py#L10

Will test further and submit a fix if this is the cause.

from newrelic-lambda-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.