rojopolis / terraform-aws-lambda-python-archive Goto Github PK
View Code? Open in Web Editor NEWPackage python source and dependencies into Lambda package with stable hash.
License: MIT License
Package python source and dependencies into Lambda package with stable hash.
License: MIT License
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.
Warning: Quoted type constraints are deprecated
on .terraform/modules/python_lambda_archive/rojopolis-terraform-aws-lambda-python-archive-8e018cc/variables.tf line 3, in variable "src_dir":
3: type = "string"
Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around "string".
Warning: Quoted type constraints are deprecated
on .terraform/modules/python_lambda_archive/rojopolis-terraform-aws-lambda-python-archive-8e018cc/variables.tf line 8, in variable "output_path":
8: type = "string"
Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around "string".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.