diff --git a/docs/reference/modules/terraform-aws-lambda/api-gateway-account-settings/api-gateway-account-settings.md b/docs/reference/modules/terraform-aws-lambda/api-gateway-account-settings/api-gateway-account-settings.md index 86ab10e3f9..9ca6d4e46f 100644 --- a/docs/reference/modules/terraform-aws-lambda/api-gateway-account-settings/api-gateway-account-settings.md +++ b/docs/reference/modules/terraform-aws-lambda/api-gateway-account-settings/api-gateway-account-settings.md @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # API Gateway Account Settings Module -View Source +View Source Release Notes @@ -34,7 +34,7 @@ The corresponding screen from the AWS Console is shown below: ## Quick start -Check out the [examples](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples) for sample code that demonstrates how to use this module. +Check out the [examples](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples) for sample code that demonstrates how to use this module. ## Sample Usage @@ -49,7 +49,7 @@ Check out the [examples](https://github.com/gruntwork-io/terraform-aws-lambda/tr module "api_gateway_account_settings" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-account-settings?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-account-settings?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # OPTIONAL VARIABLES @@ -91,7 +91,7 @@ module "api_gateway_account_settings" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-account-settings?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-account-settings?ref=v0.21.16" } inputs = { @@ -191,11 +191,11 @@ When true, all IAM policies will be managed as dedicated policies rather than in diff --git a/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy-methods/api-gateway-proxy-methods.md b/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy-methods/api-gateway-proxy-methods.md index d742a6ea0f..ca7a1da296 100644 --- a/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy-methods/api-gateway-proxy-methods.md +++ b/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy-methods/api-gateway-proxy-methods.md @@ -9,20 +9,20 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # API Gateway Lambda Function Proxy Methods Module -View Source +View Source Release Notes -This module must be used in conjunction with [the api-gateway-proxy module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy) to configure an API +This module must be used in conjunction with [the api-gateway-proxy module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy) to configure an API Gateway REST API to route all requests from a root path to a lambda function. -Refer to [the module docs](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/README.md) for the `api-gateway-proxy` module for more details on how to +Refer to [the module docs](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/README.md) for the `api-gateway-proxy` module for more details on how to use this module. Specifically, see the section [Can I expose additional lambda functions in a decentralized -manner?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#can-i-expose-additional-lambda-functions-in-a-decentralized-manner) +manner?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#can-i-expose-additional-lambda-functions-in-a-decentralized-manner) ## Sample Usage @@ -37,7 +37,7 @@ manner?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modu module "api_gateway_proxy_methods" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy-methods?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy-methods?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -85,7 +85,7 @@ module "api_gateway_proxy_methods" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy-methods?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy-methods?ref=v0.21.16" } inputs = { @@ -293,11 +293,11 @@ ID of the API Gateway method for the root proxy (only created if path_prefix is diff --git a/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy/api-gateway-proxy.md b/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy/api-gateway-proxy.md index 2d5c477cfa..d976b12bcb 100644 --- a/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy/api-gateway-proxy.md +++ b/docs/reference/modules/terraform-aws-lambda/api-gateway-proxy/api-gateway-proxy.md @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # API Gateway Proxy Module -View Source +View Source Release Notes @@ -34,7 +34,7 @@ recommend using a framework like Serverless to avoid the verbose configuration o :::note If you are looking for a module to route different requests and methods to different Lambda functions, refer to the -[lambda-http-api-gateway](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda-http-api-gateway) module. +[lambda-http-api-gateway](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda-http-api-gateway) module. ::: @@ -58,33 +58,33 @@ before, make sure to read [How to use the Gruntwork Infrastructure as Code Libra ### Core concepts -* [What is API Gateway?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#what-is-api-gateway) +* [What is API Gateway?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#what-is-api-gateway) * [What is the difference between the different endpoint - types?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#what-is-the-difference-between-the-different-endpoint-types) + types?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#what-is-the-difference-between-the-different-endpoint-types) * [API Gateway Documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html): Amazon's docs on API Gateway covering core concepts such as security, monitoring, and invoking APIs. ### Repo organization -* [modules](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules): the main implementation code for this repo, broken down into multiple standalone, orthogonal submodules. -* [examples](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples): This folder contains working examples of how to use the submodules. -* [test](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/test): Automated tests for the modules and examples. +* [modules](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules): the main implementation code for this repo, broken down into multiple standalone, orthogonal submodules. +* [examples](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples): This folder contains working examples of how to use the submodules. +* [test](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/test): Automated tests for the modules and examples. ## Deploy If you just want to try this repo out for experimenting and learning, check out the following resources: -* [examples folder](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples): The `examples` folder contains sample code optimized for learning, experimenting, and testing (but not production usage). +* [examples folder](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples): The `examples` folder contains sample code optimized for learning, experimenting, and testing (but not production usage). ## Manage ### Day-to-day operations * [How do I expose AWS Lambda functions using API - Gateway?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#how-do-i-expose-aws-lambda-functions-using-api-gateway) + Gateway?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#how-do-i-expose-aws-lambda-functions-using-api-gateway) * [Can I expose additional lambda functions in a decentralized - manner?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#can-i-expose-additional-lambda-functions-in-a-decentralized-manner) -* [How do I pass in the us_east\_1 aws provider?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/core-concepts.md#how-do-i-pass-in-the-us_east\_1-aws-provider) + manner?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#can-i-expose-additional-lambda-functions-in-a-decentralized-manner) +* [How do I pass in the us_east\_1 aws provider?](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/core-concepts.md#how-do-i-pass-in-the-us_east\_1-aws-provider) ## Sample Usage @@ -99,7 +99,7 @@ If you just want to try this repo out for experimenting and learning, check out module "api_gateway_proxy" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -253,7 +253,7 @@ module "api_gateway_proxy" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/api-gateway-proxy?ref=v0.21.16" } inputs = { @@ -740,11 +740,11 @@ The URL of the API Gateway that you can use to invoke it. diff --git a/docs/reference/modules/terraform-aws-lambda/keep-warm/keep-warm.md b/docs/reference/modules/terraform-aws-lambda/keep-warm/keep-warm.md index 155be85e23..ebf1363aaf 100644 --- a/docs/reference/modules/terraform-aws-lambda/keep-warm/keep-warm.md +++ b/docs/reference/modules/terraform-aws-lambda/keep-warm/keep-warm.md @@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Keep Warm Module -View Source +View Source -Release Notes +Release Notes This is a Lambda function you can use to invoke your other Lambda functions on a scheduled basis to keep those functions "warm." This is necessary for Lambda functions that require a low response time (e.g., if you're using Lambda API Gateway as a web service), as Lambda functions that have not been executed in a while will be shut down (that is, @@ -60,7 +60,7 @@ level](#concurrency) for your functions. module "keep_warm" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/keep-warm?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/keep-warm?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -133,7 +133,7 @@ module "keep_warm" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/keep-warm?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/keep-warm?ref=v0.21.16" } inputs = { @@ -340,11 +340,11 @@ When true, all IAM policies will be managed as dedicated policies rather than in diff --git a/docs/reference/modules/terraform-aws-lambda/lambda-edge-log-group/lambda-edge-log-group.md b/docs/reference/modules/terraform-aws-lambda/lambda-edge-log-group/lambda-edge-log-group.md index 5b8c4123df..78bea43697 100644 --- a/docs/reference/modules/terraform-aws-lambda/lambda-edge-log-group/lambda-edge-log-group.md +++ b/docs/reference/modules/terraform-aws-lambda/lambda-edge-log-group/lambda-edge-log-group.md @@ -9,15 +9,15 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Log group for Lambda Edge -View Source +View Source Release Notes -This module creates a Cloudwatch log group to receive Lambda Edge function logs in one single AWS Region. This module is meant to be used as a building block for the [`lambda-edge-multi-region-log-groups` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda-edge-multi-region-log-groups). +This module creates a Cloudwatch log group to receive Lambda Edge function logs in one single AWS Region. This module is meant to be used as a building block for the [`lambda-edge-multi-region-log-groups` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda-edge-multi-region-log-groups). ## Why are the resources in this module not created within the Lambda Edge Module? @@ -28,7 +28,7 @@ region that have [Regional Edge Caches](https://aws.amazon.com/blogs/networking- Unfortunately, it is not possible to use a `for_each` on provider blocks and there are multiple issues related to using nested providers. That means that, currently, the only way to create multi-regional modules is by code generating each block and passing down the providers. A full example of creating the providers and using this module can be found at the -[lambda-edge example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-edge). +[lambda-edge example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-edge). ## Which regions have regional edge caches? @@ -81,7 +81,7 @@ More information: module "lambda_edge_log_group" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-log-group?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-log-group?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -148,7 +148,7 @@ module "lambda_edge_log_group" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-log-group?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-log-group?ref=v0.21.16" } inputs = { @@ -316,11 +316,11 @@ When true, precreate the CloudWatch Log Group to use for log aggregation from th diff --git a/docs/reference/modules/terraform-aws-lambda/lambda-edge-multi-region-log-groups/lambda-edge-multi-region-log-groups.md b/docs/reference/modules/terraform-aws-lambda/lambda-edge-multi-region-log-groups/lambda-edge-multi-region-log-groups.md index 2b324df1d3..66455a4ff4 100644 --- a/docs/reference/modules/terraform-aws-lambda/lambda-edge-multi-region-log-groups/lambda-edge-multi-region-log-groups.md +++ b/docs/reference/modules/terraform-aws-lambda/lambda-edge-multi-region-log-groups/lambda-edge-multi-region-log-groups.md @@ -9,15 +9,15 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Multiregional Log groups for Lambda Edge -View Source +View Source Release Notes -This module uses the [`lambda-edge-log-group` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda-edge-log-group) to create a Cloudwatch log group to receive Lambda Edge function logs in multiple AWS Regions. +This module uses the [`lambda-edge-log-group` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda-edge-log-group) to create a Cloudwatch log group to receive Lambda Edge function logs in multiple AWS Regions. ## Why are the resources in this module not created within the Lambda Edge Module? @@ -27,8 +27,8 @@ region that have [Regional Edge Caches](https://aws.amazon.com/blogs/networking- Unfortunately, it is not possible to use a `for_each` on provider blocks and there are multiple issues related to using nested providers. That means that, currently, the only way to create multi-regional modules is by code generating each -block and passing down the providers using the [`codegen`](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/codegen/) module. A full example of creating the providers and using -this module can be found at the [lambda-edge example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-edge). +block and passing down the providers using the [`codegen`](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/codegen/) module. A full example of creating the providers and using +this module can be found at the [lambda-edge example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-edge). ## Which regions have regional edge caches? @@ -81,7 +81,7 @@ More information: module "lambda_edge_multi_region_log_groups" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-multi-region-log-groups?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-multi-region-log-groups?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -141,7 +141,7 @@ module "lambda_edge_multi_region_log_groups" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-multi-region-log-groups?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge-multi-region-log-groups?ref=v0.21.16" } inputs = { @@ -298,11 +298,11 @@ Map of log group names per region diff --git a/docs/reference/modules/terraform-aws-lambda/lambda-edge/lambda-edge.md b/docs/reference/modules/terraform-aws-lambda/lambda-edge/lambda-edge.md index e5524a45c1..21a6f85a04 100644 --- a/docs/reference/modules/terraform-aws-lambda/lambda-edge/lambda-edge.md +++ b/docs/reference/modules/terraform-aws-lambda/lambda-edge/lambda-edge.md @@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Lambda@Edge Function Module -View Source +View Source -Release Notes +Release Notes This module makes it easy to deploy and manage an [AWS Lambda@Edge](https://aws.amazon.com/lambda/edge/) function. Lambda@Edge gives you a way to run code on-demand in AWS Edge locations without having to manage servers. @@ -29,8 +29,8 @@ for the full details): * The function must be versioned in order to be a target for Cloudfront events. * The function must be deployed in the `us-east-1` region. * The function runtime must be one of: - * `nodejs10.x` or newer - * `python3.7` or newer + * `nodejs18.x` or newer + * `python3.9` or newer ## What is AWS Lambda? @@ -65,7 +65,7 @@ resource "aws_lambda_permission" "with_sns" { Lambda@Edge stores CloudWatch Logs in the AWS Regions closest to the location where the function receives traffic and is executed. That means a log group must be created in every region that have [Regional Edge Caches](https://aws.amazon.com/blogs/networking-and-content-delivery/aggregating-lambdaedge-logs/). -Instructions on how to do this can be found at the [`lambda-edge-multi-region-log-groups` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda-edge-multi-region-log-groups). To see which regions are receiving traffic, you can find graphs of metrics for the +Instructions on how to do this can be found at the [`lambda-edge-multi-region-log-groups` module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda-edge-multi-region-log-groups). To see which regions are receiving traffic, you can find graphs of metrics for the function on the CloudFront console and choose your region there. ## How to trigger this Lambda function from Cloudfront @@ -94,7 +94,7 @@ triggers: module "lambda_edge" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -204,9 +204,9 @@ module "lambda_edge" { # The runtime environment for the Lambda function (e.g. nodejs, python3.9, # java8). See # https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime - # for all possible values. Currently Lambda@Edge supports only nodejs10.x and - # python3.7. - runtime = "nodejs10.x" + # for all possible values. Currently Lambda@Edge supports only nodejs18.x and + # python3.9. + runtime = "nodejs18.x" # An S3 bucket location containing the function's deployment package. Exactly # one of var.source_path or the var.s3_xxx variables must be specified. @@ -276,7 +276,7 @@ module "lambda_edge" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-edge?ref=v0.21.16" } inputs = { @@ -389,9 +389,9 @@ inputs = { # The runtime environment for the Lambda function (e.g. nodejs, python3.9, # java8). See # https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime - # for all possible values. Currently Lambda@Edge supports only nodejs10.x and - # python3.7. - runtime = "nodejs10.x" + # for all possible values. Currently Lambda@Edge supports only nodejs18.x and + # python3.9. + runtime = "nodejs18.x" # An S3 bucket location containing the function's deployment package. Exactly # one of var.source_path or the var.s3_xxx variables must be specified. @@ -685,10 +685,10 @@ The amount of reserved concurrent executions for this lambda function or -1 if u -The runtime environment for the Lambda function (e.g. nodejs, python3.9, java8). See https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime for all possible values. Currently Lambda@Edge supports only nodejs10.x and python3.7. +The runtime environment for the Lambda function (e.g. nodejs, python3.9, java8). See https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime for all possible values. Currently Lambda@Edge supports only nodejs18.x and python3.9. - + @@ -820,11 +820,11 @@ Name of the (optionally) created CloudWatch log groups for the lambda function. diff --git a/docs/reference/modules/terraform-aws-lambda/lambda-http-api-gateway/lambda-http-api-gateway.md b/docs/reference/modules/terraform-aws-lambda/lambda-http-api-gateway/lambda-http-api-gateway.md index 1a447194bd..704c8dfae2 100644 --- a/docs/reference/modules/terraform-aws-lambda/lambda-http-api-gateway/lambda-http-api-gateway.md +++ b/docs/reference/modules/terraform-aws-lambda/lambda-http-api-gateway/lambda-http-api-gateway.md @@ -9,7 +9,7 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + -View Source +View Source Release Notes @@ -39,7 +39,7 @@ they can be invoked on HTTP calls. :::note If you are looking for a simple proxy to route all requests to a Lambda function, refer to the -[api-gateway-proxy](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy) module. +[api-gateway-proxy](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy) module. ::: @@ -70,7 +70,7 @@ If you’ve never used the Gruntwork Modules before, make sure to read If you just want to try this repo out for experimenting and learning, check out the following resources: -* [examples/lambda-http-api-gateway](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-http-api-gateway): This example contains sample code that uses +* [examples/lambda-http-api-gateway](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-http-api-gateway): This example contains sample code that uses this module to route two different requests to two different Lambda functions. ## Manage @@ -94,7 +94,7 @@ information on route syntax that API Gateway expects. module "lambda_http_api_gateway" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-http-api-gateway?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-http-api-gateway?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -215,7 +215,7 @@ module "lambda_http_api_gateway" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-http-api-gateway?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda-http-api-gateway?ref=v0.21.16" } inputs = { @@ -727,11 +727,11 @@ A map from the route keys to the IDs of the corresponding API Gateway V2 Route r diff --git a/docs/reference/modules/terraform-aws-lambda/lambda/lambda.md b/docs/reference/modules/terraform-aws-lambda/lambda/lambda.md index fb0db7ad92..b818387600 100644 --- a/docs/reference/modules/terraform-aws-lambda/lambda/lambda.md +++ b/docs/reference/modules/terraform-aws-lambda/lambda/lambda.md @@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Lambda Function Module -View Source +View Source -Release Notes +Release Notes This module makes it easy to deploy and manage an [AWS Lambda](https://aws.amazon.com/lambda/) function. Lambda gives you a way to run code on-demand in AWS without having to manage servers. @@ -105,7 +105,7 @@ Lambda function are still in use. If necessary, the variable `enable_eni_cleanup of the function from the VPC during `terraform destroy` and unblock the Security Group for destruction. Note: this requires the [`aws` cli tool](https://aws.amazon.com/cli/) to be installed. -Check out the [lambda-vpc example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-vpc) for working sample code. Make sure to note the Known Issues +Check out the [lambda-vpc example](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-vpc) for working sample code. Make sure to note the Known Issues section in that example's README. ## How do you share Lambda functions across multiple AWS accounts? @@ -153,7 +153,7 @@ If you want to have a central S3 bucket that you use as a repository for your La module "lambda" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -453,7 +453,7 @@ module "lambda" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/lambda?ref=v0.21.16" } inputs = { @@ -1325,11 +1325,11 @@ Name of the (optionally) created CloudWatch log group for the lambda function. diff --git a/docs/reference/modules/terraform-aws-lambda/run-lambda-entrypoint/run-lambda-entrypoint.md b/docs/reference/modules/terraform-aws-lambda/run-lambda-entrypoint/run-lambda-entrypoint.md index 2cbc668b62..b69d832829 100644 --- a/docs/reference/modules/terraform-aws-lambda/run-lambda-entrypoint/run-lambda-entrypoint.md +++ b/docs/reference/modules/terraform-aws-lambda/run-lambda-entrypoint/run-lambda-entrypoint.md @@ -9,7 +9,7 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + -View Source +View Source Release Notes @@ -34,7 +34,7 @@ to the lambda runtime. This entrypoint will pull the provided secrets manager en secrets manager entry to environment variables that are injected into the lambda runtime. This module only includes an entrypoint CLI. If you are looking for a module to deploy container based Lambda functions, -refer to the [lambda](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda) module. +refer to the [lambda](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda) module. ## Motivation @@ -78,7 +78,7 @@ If you’ve never used the Gruntwork Modules before, make sure to read If you just want to try this repo out for experimenting and learning, check out the following resources: -* [examples/lambda-docker](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-docker): This example contains a sample `Dockerfile` that uses this +* [examples/lambda-docker](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-docker): This example contains a sample `Dockerfile` that uses this entrypoint to expose secrets to a python based Lambda function. ## Manage @@ -133,7 +133,7 @@ To support this use case, the `run-lambda-entrypoint` CLI includes the ability t is not running in a Lambda environment. When `run-lambda-entrypoint` is invoked with the arg `--rie-path`, it will wrap the provided entrypoint script with the RIE when running in local mode. -Refer to the [secret-reflector-go](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/examples/lambda-docker/secret-reflector-go) example for an example of how to set +Refer to the [secret-reflector-go](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/examples/lambda-docker/secret-reflector-go) example for an example of how to set this up with a Go based Lambda function. ### How do I pass in Secrets Manager ARNs for environment variable lookup? @@ -184,11 +184,11 @@ will assume it is the name of a Secrets Manager entry in the same region as the diff --git a/docs/reference/modules/terraform-aws-lambda/scheduled-lambda-job/scheduled-lambda-job.md b/docs/reference/modules/terraform-aws-lambda/scheduled-lambda-job/scheduled-lambda-job.md index c421d26364..5ebc0e1e58 100644 --- a/docs/reference/modules/terraform-aws-lambda/scheduled-lambda-job/scheduled-lambda-job.md +++ b/docs/reference/modules/terraform-aws-lambda/scheduled-lambda-job/scheduled-lambda-job.md @@ -9,22 +9,22 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx'; import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx'; import { ModuleUsage } from "../../../../../src/components/ModuleUsage"; - + # Scheduled Lambda Job Module -View Source +View Source Release Notes This module makes it easy to run an [AWS Lambda](https://aws.amazon.com/lambda/) function (such as one created with the -[lambda module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda)) on a scheduled basis. This is useful for periodic background jobs, such as taking a +[lambda module](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda)) on a scheduled basis. This is useful for periodic background jobs, such as taking a daily snapshot of your servers. ## Background info For more information on AWS Lambda, how it works, and how to configure your functions, check out the [lambda module -documentation](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/lambda). +documentation](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/lambda). ## Sample Usage @@ -39,7 +39,7 @@ documentation](https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.1 module "scheduled_lambda_job" { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/scheduled-lambda-job?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/scheduled-lambda-job?ref=v0.21.16" # ---------------------------------------------------------------------------------------------------- # REQUIRED VARIABLES @@ -90,7 +90,7 @@ module "scheduled_lambda_job" { # ------------------------------------------------------------------------------------------------------ terraform { - source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/scheduled-lambda-job?ref=v0.21.15" + source = "git::git@github.com:gruntwork-io/terraform-aws-lambda.git//modules/scheduled-lambda-job?ref=v0.21.16" } inputs = { @@ -235,11 +235,11 @@ Cloudwatch Event Rule schedule expression