Looking for suggestions on the best way to kick off a set of parallel Github actions for each lambda function in a folder. So folder structure is like:
lambdas/example1/index.js
lambdas/example2/index.js
....
and then pass them through to this matrix setup
deploy_source:
name: Deploy Lambda From Source
runs-on: ubuntu-latest
strategy:
matrix:
lambdafile:['example1/index.js','example12/index.js',....]
steps:
- name: checkout source code
uses: actions/checkout@v1
- name: default deploy
uses: appleboy/lambda-action@master
with:
aws_access_key_id: '123123123123'
aws_secret_access_key: '123123123123'
aws_region: '123123123123'
function_name: gorush
source: ${{ matrix.lambdafile }}
matrixnot work? Are you just asking if there is a better way? Usingmatrixis a good way to kick off parallel jobs. - peterevans