Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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";

<VersionBadge repoTitle="AWS Lambda" version="0.21.15" lastModifiedVersion="0.21.15"/>
<VersionBadge repoTitle="AWS Lambda" version="0.21.16" lastModifiedVersion="0.21.15"/>

# API Gateway Account Settings Module

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-account-settings" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-account-settings" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/releases/tag/v0.21.15" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -191,11 +191,11 @@ When true, all IAM policies will be managed as dedicated policies rather than in
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-account-settings/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-account-settings/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-account-settings/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-account-settings/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-account-settings/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-account-settings/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "bea057a75f7559015244b5e24f0a821f"
"hash": "c9f90d59a0bd32a5bc1eebeb07403631"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -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";

<VersionBadge repoTitle="AWS Lambda" version="0.21.15" lastModifiedVersion="0.20.0"/>
<VersionBadge repoTitle="AWS Lambda" version="0.21.16" lastModifiedVersion="0.20.0"/>

# API Gateway Lambda Function Proxy Methods Module

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy-methods" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy-methods" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/releases/tag/v0.20.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

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

Expand All @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -293,11 +293,11 @@ ID of the API Gateway method for the root proxy (only created if path_prefix is
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy-methods/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy-methods/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy-methods/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy-methods/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy-methods/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy-methods/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "dd25701dc38b2dbd76cff7ad32a99c47"
"hash": "5abc71a20ae373b04be1bd01316e9a06"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -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";

<VersionBadge repoTitle="AWS Lambda" version="0.21.15" lastModifiedVersion="0.21.15"/>
<VersionBadge repoTitle="AWS Lambda" version="0.21.16" lastModifiedVersion="0.21.15"/>

# API Gateway Proxy Module

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/releases/tag/v0.21.15" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -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.

:::

Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -740,11 +740,11 @@ The URL of the API Gateway that you can use to invoke it.
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/api-gateway-proxy/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/api-gateway-proxy/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "e7a5eff3526f0a606ff79ae8dc00fd03"
"hash": "e2128b14afe843265f048ecec285dd80"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -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";

<VersionBadge repoTitle="AWS Lambda" version="0.21.15" lastModifiedVersion="0.21.15"/>
<VersionBadge repoTitle="AWS Lambda" version="0.21.16" lastModifiedVersion="0.21.16"/>

# Keep Warm Module

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/keep-warm" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/keep-warm" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-lambda/releases/tag/v0.21.15" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
<a href="https://github.com/gruntwork-io/terraform-aws-lambda/releases/tag/v0.21.16" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -340,11 +340,11 @@ When true, all IAM policies will be managed as dedicated policies rather than in
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/keep-warm/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/keep-warm/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.15/modules/keep-warm/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/keep-warm/readme.md",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/keep-warm/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-lambda/tree/v0.21.16/modules/keep-warm/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "4196444a1d864c7f0735aa0aa0c9f4fc"
"hash": "b50a61f05e40404fdf195372aa3d5b6e"
}
##DOCS-SOURCER-END -->
Loading