Skip to content

Commit 68b6de3

Browse files
authored
feat: Update api-gateway-rest-api to 0.8.0 (#16)
1 parent 2877d0f commit 68b6de3

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ description: |-
6060
| Name | Source | Version |
6161
|------|--------|---------|
6262
| <a name="module_acm"></a> [acm](#module\_acm) | cloudposse/stack-config/yaml//modules/remote-state | 1.5.0 |
63-
| <a name="module_api_gateway_rest_api"></a> [api\_gateway\_rest\_api](#module\_api\_gateway\_rest\_api) | cloudposse/api-gateway/aws | 0.3.1 |
63+
| <a name="module_api_gateway_rest_api"></a> [api\_gateway\_rest\_api](#module\_api\_gateway\_rest\_api) | cloudposse/api-gateway/aws | 0.8.0 |
6464
| <a name="module_dns_delegated"></a> [dns\_delegated](#module\_dns\_delegated) | cloudposse/stack-config/yaml//modules/remote-state | 1.5.0 |
6565
| <a name="module_iam_roles"></a> [iam\_roles](#module\_iam\_roles) | ../account-map/modules/iam-roles | n/a |
6666
| <a name="module_nlb"></a> [nlb](#module\_nlb) | cloudposse/nlb/aws | 0.12.0 |

src/README.md

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ locals {
1010

1111
module "api_gateway_rest_api" {
1212
source = "cloudposse/api-gateway/aws"
13-
version = "0.3.1"
13+
version = "0.8.0"
1414

1515
enabled = local.enabled
1616

@@ -22,6 +22,9 @@ module "api_gateway_rest_api" {
2222
access_log_format = var.access_log_format
2323
rest_api_policy = var.rest_api_policy
2424
private_link_target_arns = module.nlb[*].nlb_arn
25+
stage_name = var.stage_name
26+
throttling_burst_limit = var.throttling_burst_limit
27+
throttling_rate_limit = var.throttling_rate_limit
2528

2629
context = module.this.context
2730
}

src/variables.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,21 @@ variable "enable_private_link_nlb" {
132132
type = bool
133133
default = false
134134
}
135+
136+
variable "stage_name" {
137+
type = string
138+
default = ""
139+
description = "The name of the stage"
140+
}
141+
142+
variable "throttling_burst_limit" {
143+
description = "The API request burst limit"
144+
type = number
145+
default = -1
146+
}
147+
148+
variable "throttling_rate_limit" {
149+
description = "The API request rate limit"
150+
type = number
151+
default = -1
152+
}

0 commit comments

Comments
 (0)