Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Instead of using source_code_hash you can push your code to s3 with the hash as the filename and update the lambda to point at the new file

Terraform can manage uploading objects to s3

It also seems a bit strange to have Terraform do the packaging. We do that in CI for most of our lambdas to ensure the test suite runs, linting, etc then it creates a zip at the end and pushes to S3

The only ones Terraform deploys directly are fairly trivial Python API "glue" lambdas



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: