Skip to content

Commit b76ceec

Browse files
committed
feat: Update api-gateway-rest-api to 0.7.2
1 parent 2877d0f commit b76ceec

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)