Comments (6)
@wutianchen It is quite active, I'm sure a PR would be appreciated.
from terraform-aws-lambda.
Forked and tried to fix the issues see here https://github.com/goochi1/terraform-aws-lambda
However getting the following error
Error: Unsupported argument
on .terraform/modules/lambda_ri_reccomendation/lambda.tf line 67, in resource "aws_lambda_function" "lambda_with_dl":
67: environment = ["${slice( list(var.environment), 0, length(var.environment) == 0 ? 0 : 1 )}"]
An argument named "environment" is not expected here. Did you mean to define a
block of type "environment"?
from terraform-aws-lambda.
@goochi1 I have the same issue, the thing is for resource "aws_lambda_function" now has a "environment block" instread of "environment argument". so it needs to be changed to
environment {
variables = "${var.environment}"
}
I am going to make a PR on this, but do not know if this repo is still actively maintained.
from terraform-aws-lambda.
@lorengordon thanks for the comment. will do that, might add feature like "hcl upgrade", "deploy from s3", "step functions". first needs to go through company open source policy process, might take a week or so
from terraform-aws-lambda.
Hi, this will be fixed in #49
from terraform-aws-lambda.
This is in version v1.0.0
from terraform-aws-lambda.
Related Issues (20)
- pip error when running make plan on debian HOT 6
- Windows support? HOT 2
- Consider a variable that makes the module/resources optional
- Download dependencies using --platform flag in pip HOT 3
- Cannot run on terraform entreprise HOT 4
- Generating node_modules for node runtimes HOT 4
- Support pipenv HOT 3
- Support golang HOT 3
- CloudWatch Log Group not automagically created HOT 11
- AWS provider 2.0.0 disables the function HOT 1
- Leading quote in `source_path` causing failures on Windows
- module_relpath seems to be broken under version 0.12.0 HOT 1
- Simplify logic where ternary operator can return a list directly
- Add an "exclude" variable to exclude certain directories
- Question - How do you provide and use python requirements.txt HOT 3
- No release was created for the latest commit in master branch HOT 1
- Better documentation for how to deploy non python lambda functions
- timeout and memory_limit lambda not working
- 1.3.0 generates perpetual diffs when switching platform HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-lambda.