Skip to content

Commit

Permalink
added deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzzimmer committed Aug 7, 2020
1 parent c48d1e9 commit 50c70ef
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 58 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

![](https://github.com/spring-media/terraform-aws-lambda/workflows/Terraform%20CI/badge.svg) [![Terraform Module Registry](https://img.shields.io/badge/Terraform%20Module%20Registry-5.2.0-blue.svg)](https://registry.terraform.io/modules/spring-media/lambda/aws/5.2.0) ![Terraform Version](https://img.shields.io/badge/Terraform-0.12+-green.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

# Deprecation warning

Further development of this module will be continued in [moritzzimmer/terraform-aws-lambda](https://github.com/moritzzimmer/terraform-aws-lambda). Users of `spring-media/lambda/aws`
should migrate to this module as a drop-in replacement for all provisions up to release/tag `5.2.0` to benefit from new features and bugfixes.

```hcl-terraform
module "lambda" {
source = "moritzzimmer/lambda/aws"
version = "5.2.0"
filename = "my-package.zip"
function_name = "my-function"
handler = "my-handler"
runtime = "go1.x"
source_code_hash = filebase64sha256("${path.module}/my-package.zip")
}
```

---


Terraform module to create AWS [Lambda](https://www.terraform.io/docs/providers/aws/r/lambda_function.html) resources with configurable event sources, IAM configuration (following the [principal of least privilege](https://en.wikipedia.org/wiki/Principle_of_least_privilege)), VPC as well as SSM/KMS and log streaming support.

The following [event sources](https://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html) are supported (see [examples](#examples)):
Expand Down Expand Up @@ -107,10 +129,6 @@ module "lambda" {
- [example-with-vpc](https://github.com/spring-media/terraform-aws-lambda/tree/master/examples/example-with-vpc)
- [example-without-event](https://github.com/spring-media/terraform-aws-lambda/tree/master/examples/example-without-event)

### bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly.

## How do I contribute to this module?

Contributions are very welcome! Check out the [Contribution Guidelines](https://github.com/spring-media/terraform-aws-lambda/blob/master/CONTRIBUTING.md) for instructions.
Expand Down
9 changes: 0 additions & 9 deletions examples/example-with-cloudwatch-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates AWS Lambda functions triggered by a CloudWatch [events](https://docs.aws
$ terraform init
$ terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-cloudwatch
$ cd example-with-cloudwatch && make init package plan
```
9 changes: 0 additions & 9 deletions examples/example-with-dynamodb-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates an AWS Lambda function triggered by a DynamoDb [event](https://docs.aws.
$ terraform init
$ terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-dynamodb -e dynamodb
$ cd example-with-dynamodb && make init package plan
```
9 changes: 0 additions & 9 deletions examples/example-with-kinesis-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates an AWS Lambda function triggered by a Kinesis [event](https://docs.aws.a
$ terraform init
$ terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-kinesis -e kinesis
$ cd example-with-kinesis && make init package plan
```
9 changes: 0 additions & 9 deletions examples/example-with-s3-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates an AWS Lambda function triggered by a S3 [event](https://docs.aws.amazon
terraform init
terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-s3 -e s3
$ cd example-with-s3 && make init package plan
```
9 changes: 0 additions & 9 deletions examples/example-with-sns-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates an AWS Lambda function subscribed to a SNS topic.
terraform init
terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-sns -e sns
$ cd example-with-sns && make init package plan
```
9 changes: 0 additions & 9 deletions examples/example-with-sqs-event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,3 @@ Creates an AWS Lambda function triggered by a SQS [event](https://docs.aws.amazo
$ terraform init
$ terraform plan
```

## bootstrap with func

In case you are using [go](https://golang.org/) for developing your Lambda functions, you can also use [func](https://github.com/spring-media/func) to bootstrap your project and get started quickly:

```
$ func new example-with-sqs -e sqs
$ cd example-with-sqs && make init package plan
```

0 comments on commit 50c70ef

Please sign in to comment.