feature request: specify layers in update-function-configuration
ryanhuff opened this issue · 8 comments
ryanhuff commented
I would love to be able to specify layers:
- name: deploy function
uses: appleboy/lambda-action@master
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: my-region
function_name: my-function-arn
zip_file: function-code.zip
layers: layer1-version-arn,layer2-version-arn,layer3-version-arn
appleboy commented
I will take it asap.
ryanhuff commented
providing layers as an array would be even better than a comma-separated list... :)
appleboy commented
@ryanhuff GitHub Actions doesn't support the array in YAML now. See the reference: https://github.community/t/can-action-inputs-be-arrays/16457
ryanhuff commented
Comma-separated would be fine too.
mishanti commented
Hi! Thanks for your effort, it helps a lot.
Do you have any updates on layers? Are you still planning to implement them?
bakkerthehacker commented
appleboy commented
@bakkerthehacker Yes. I will try it again.