Environment Variables overwrite with-configuration
I have an environment variable (AWS_REGION) in my workflow which is overwriting your with: aws_region configuration. My expectation is that the with: aws_region configuration would overwrite the environment variable. I had to set an env: AWS_REGION: my-region in your step action to make it work.
Not sure if it is something you want to change but maybe worth mentioning it the README.md...
@tsposato I don't know why you set AWS_REGION environment variable in the lambda action step.
@appleboy is there a way to not have this overwrite env vars that are already set on the function?
@jdicami I will take it.
Please try v0.2.0 version. https://github.com/appleboy/lambda-action/releases/tag/v0.2.0