Skip to content

feat: Update api-gateway-rest-api to 0.8.0 #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ description: |-
| Name | Source | Version |
|------|--------|---------|
| <a name="module_acm"></a> [acm](#module\_acm) | cloudposse/stack-config/yaml//modules/remote-state | 1.5.0 |
| <a name="module_api_gateway_rest_api"></a> [api\_gateway\_rest\_api](#module\_api\_gateway\_rest\_api) | cloudposse/api-gateway/aws | 0.3.1 |
| <a name="module_api_gateway_rest_api"></a> [api\_gateway\_rest\_api](#module\_api\_gateway\_rest\_api) | cloudposse/api-gateway/aws | 0.8.0 |
| <a name="module_dns_delegated"></a> [dns\_delegated](#module\_dns\_delegated) | cloudposse/stack-config/yaml//modules/remote-state | 1.5.0 |
| <a name="module_iam_roles"></a> [iam\_roles](#module\_iam\_roles) | ../account-map/modules/iam-roles | n/a |
| <a name="module_nlb"></a> [nlb](#module\_nlb) | cloudposse/nlb/aws | 0.12.0 |
Expand Down
9 changes: 6 additions & 3 deletions src/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ locals {

module "api_gateway_rest_api" {
source = "cloudposse/api-gateway/aws"
version = "0.3.1"
version = "0.8.0"

enabled = local.enabled

Expand All @@ -22,6 +22,9 @@ module "api_gateway_rest_api" {
access_log_format = var.access_log_format
rest_api_policy = var.rest_api_policy
private_link_target_arns = module.nlb[*].nlb_arn
stage_name = var.stage_name
throttling_burst_limit = var.throttling_burst_limit
throttling_rate_limit = var.throttling_rate_limit

context = module.this.context
}
Expand Down
18 changes: 18 additions & 0 deletions src/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,21 @@ variable "enable_private_link_nlb" {
type = bool
default = false
}

variable "stage_name" {
type = string
default = ""
description = "The name of the stage"
}

variable "throttling_burst_limit" {
description = "The API request burst limit"
type = number
default = -1
}

variable "throttling_rate_limit" {
description = "The API request rate limit"
type = number
default = -1
}