Comments (3)
Thats precisely the error i get when running the newrelic-lambda-cli on aws codepipeline:
from newrelic-lambda-cli.
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.
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)
- Specifying AWS lambda layer arn with --layer-arn flag in newrelic-lambda layers install command does not work
- Specifying AWS lambda layer arn with --layer-arn flag in newrelic-lambda layers install command does not work HOT 4
- there is no way to specify NewRelicLicenseKeySecret policy name
- external_id parser logic wrong HOT 2
- account = account = gql.link_account(role_arn, input.linked_account_name)??
- --integration-arn doesn't work if the role is on different path
- Unsupported runtime error when multiple layers are available HOT 2
- Documentation On Secrets Manager Permissions HOT 1
- Lambda Layer Distributed Tracing HOT 1
- New Relic log ingestion function Timeout set via environment variable
- Add support for Python 3.10 HOT 1
- TypeError: emojize() got an unexpected keyword argument 'use_aliases' HOT 1
- KeyError: 'Runtime' HOT 1
- Runtime go1.x support HOT 4
- Error: Invalid value for New Relic Account ID HOT 7
- 403 Forbidden error in the CloudWatch logs HOT 3
- Layer causes api gateway to return 502 response HOT 1
- `newrelic-lambda layers install` fails with an unexpected error HOT 2
- Document `enable-license-key-secret` option for the integrations update and install commands
- NewRelicLogIngestion stack adds random id to NewRelicLogIngestionFunction name, thus failing subsequent checks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-lambda-cli.