Closed maour closed 1 year ago
I tried this and it's fine, so in case there isn't a better way, this solution works fine for me,
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
- run: |
aws lambda update-function-configuration --function-name existingFunc --environment "Variables={ MYENV=SAMPLE }"
Hello,
Is it possible to set environment variables for lambda from this action?
I can see such thing seems to be here using aws-lambda-deploy .