source_code_hash constantly changing for certain packages
max-l-weaver opened this issue · 1 comments
Terraform version: 0.12.28
I'm using the terraform-aws-lambda-python-archive module to deploy a few functions and it's been working great, but recently i've been having problems deploying a function that uses the slackclient library.
Everytime I run a plan for this particular function the source_code_hash returns a different hash. I'm using version 0.1.6 of the module but have also tried 0.1.5 (the version I'm using for other functions that deploy without issues).
I tried replicating this in a python shell but couldn't; the hash returned everytime was the same, so I'm at a loss as to what's causing it.
The only remedy I've found so far is switching install_dependencies to false.
As I said, I'm using this for other functions (which use requests and psycopg2) but this slackclient seems to be the only one causing issues.
I don't think this is being actively developed anymore, so I'll close this and try and fix it myself