Skip to content

Commit e3b8936

Browse files
committed
Update documentation and examples
1 parent 6f73456 commit e3b8936

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Also Note: CodePipeline and CodeDeploy cannot be used together to deploy a Lambd
2727
For a Zip file lambda
2828
```hcl
2929
module "lambda_api" {
30-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
30+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
3131
app_name = "my-lambda-codedeploy-dev"
3232
zip_filename = "./src/lambda.zip"
3333
zip_handler = "index.handler"
@@ -50,7 +50,7 @@ module "lambda_api" {
5050
For a docker image lambda:
5151
```hcl
5252
module "lambda_api" {
53-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
53+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
5454
app_name = "my-docker-lambda"
5555
image_uri = "my-image-from-my-ecr:latest"
5656
hosted_zone = module.acs.route53_zone

changelog.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v2.1.0
4+
4/22/2022 - `lambda_layers` variable added as pass-through to `layers` variable of `aws_lambda_function` resource
5+
6+
## v2.0.1
7+
3/11/2022 - increased `app_name` variable length
8+
- increased `app_name` variable length from 24 to 28
9+
310
## v2.0.0
411
2/24/2022 - Major breaking changes from v1.x:
512
- dropped support for terraform v0.12
@@ -10,7 +17,3 @@
1017
- removed `use_codedeploy` variable - just include the codedeploy variables to enable codedeploy
1118
- removed `env` variable - just include the env inside the `app_name` variable
1219
- added `domain_url` variable to enable a custom API URL
13-
14-
## v2.0.1
15-
3/11/2022 - increased `app_name` variable length
16-
- increased `app_name` variable length from 24 to 28

examples/docker-lambda/docker.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "acs" {
99

1010
module "lambda_api" {
1111
# source = "../../"
12-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
12+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
1313
app_name = "my-docker-lambda"
1414
image_uri = "my-image-from-my-ecr:latest"
1515
hosted_zone = module.acs.route53_zone

examples/no-codedeploy/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "acs" {
99

1010
module "lambda_api" {
1111
# source = "../../"
12-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
12+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
1313
app_name = "my-lambda-dev"
1414
zip_filename = "./src/lambda.zip"
1515
zip_handler = "index.handler"

examples/simple-lambda-in-vpc/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "acs" {
99

1010
module "lambda_api" {
1111
# source = "../../"
12-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
12+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
1313
app_name = "my-lambda-dev"
1414
zip_filename = "./src/lambda.zip"
1515
zip_handler = "index.handler"

examples/simple-lambda-with-deploy-test/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "acs" {
99

1010
module "lambda_api" {
1111
# source = "../../"
12-
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.0.1"
12+
source = "github.com/byu-oit/terraform-aws-lambda-api?ref=v2.1.0"
1313
app_name = "my-lambda-codedeploy-dev"
1414
env = "dev"
1515
zip_filename = "./src/lambda.zip"

0 commit comments

Comments
 (0)