Closed javydekoning closed 6 years ago
Thanks - I agree with issue part 1 - and will fix today as suggested. For part 2, I want someone to be able to not run build (as needs Docker etc), but still modify the lambda (to change reports etc) - so will leave the lambda.py overwrite in deploy.
Used "curl https://s3.amazonaws.com/aws-cost-explorer-report-bin/lambda.zip --create-dirs -o bin/lambda.zip" to fix deploy.sh. Thank you.
The original file does not work if the bin folder does not exist (bin folder is not in the repo).
Solution would be to use curl instead:
Also L21-L23: https://github.com/aws-samples/aws-cost-explorer-report/blob/master/deploy.sh#L21-L23 can be omitted. The
lambda.py
is already in the deployment package it's added during build