gagoar / invoke-aws-lambda Goto Github PK
View Code? Open in Web Editor NEWGitHub action to invoke AWS lambda
License: MIT License
GitHub action to invoke AWS lambda
License: MIT License
Currently both AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
are not treated as secrets within the GitHub workflow ecosystem. This is a security risk that could lead to these being leaked in logs/etc.
This is probably going to be hard to change since existing users probably are not using a specific version of the workflow but rather following the README example and using gagoar/invoke-aws-lambda@master
.
Instead of allowing Access keys and secret keys and can we trigger using IAM Role
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: matchPackagePrefixes: matchPackagePrefixes should be inside a 'packageRule' only
The
set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
eslint
, eslint-config-prettier
)node
, @types/node
)eslint
, eslint-config-prettier
, eslint-plugin-prettier
)@types/jest
, jest
, ts-jest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/build_project.yml
actions/setup-node v3
.github/workflows/lint.yml
actions/setup-node v3
.github/workflows/rebuild_dist.yml
actions/checkout v3
actions/setup-node v3.5.1
jnwng/github-app-installation-token-action v2
.github/workflows/release.yml
actions/checkout v3
actions/create-release v1
.github/workflows/renovate.yml
.github/workflows/unit-tests.yml
actions/setup-node v3
codecov/codecov-action v3
package.json
@actions/core 1.10.0
aws-sdk ^2.681.0
@types/jest 27.5.2
@types/node 16.11.57
@typescript-eslint/eslint-plugin 5.23.0
@typescript-eslint/parser 5.23.0
ajv-keywords 5.1.0
bufferutil 4.0.6
esbuild 0.14.44
eslint 8.23.0
eslint-config-prettier 8.5.0
eslint-plugin-prettier 4.2.1
husky 7.0.4
jest 28.1.1
lint-staged 10.5.3
prettier 2.6.2
prettier-eslint 13.0.0
prettier-eslint-cli ^8.0.1
pretty-quick 3.1.3
ts-jest 28.0.5
ts-node 10.7.0
tslib 2.4.0
typescript 5.5.4
utf-8-validate 5.0.9
ws 7.5.10
node >12.0.0
.nvmrc
node 20.9.0
We using this action:
steps:
- name: Invoke foobarFunction Lambda
uses: gagoar/invoke-aws-lambda@master
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
InvocationType: 'Event'
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
FunctionName: my-trigger
Payload: ${{ toJson(github) }}
And it works perfect almost for a year.
Just right now we got an error: File not found: '/home/runner/work/_actions/gagoar/invoke-aws-lambda/master/dist/index.js'
Currently when utilizing OpenID instead of the standard Key_ID/Access_key workflow fails with
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
would be nice to be able to grab credentials from "aws-actions/configure-aws-credentials@v1" if not using id/key in aws configuration.
Hello,
I have some tests running on aws lambda and lately they've been failing with the following message:
Run gagoar/[email protected] with: FunctionName: BackendTests REGION: eu-west-1 AWS_ACCESS_KEY_ID: *** AWS_SECRET_ACCESS_KEY: *** SUCCEED_ON_FUNCTION_FAILURE: false MAX_RETRIES: 0 HTTP_TIMEOUT: 12000000 LogType: Tail Payload: [{"suite": "shipments","verbose": true},{"suite": "shipment-list","verbose": true},{"suite": "shipment-api","verbose": true}] InvocationType: RequestResponse Error: read ECONNRESET
This error seems to happen after around 4-5 minutes even though I set HTTP_TIMEOUT to a very high number and my tests are passing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.