Skip to content

Commit 9410d64

Browse files
authored
Next (#6)
* feat: enable usage plan configuration * feat: enable stage rate limit configuration * feat: handle throttled response * feat: handle throttled response * chore: quota and limits configuration * refactor: throttles, usage plan, required api key optionally setup * refactor: Always redeploy to capture external changes (Serverless, etc.)
1 parent 93ce2bf commit 9410d64

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

main.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ resource "aws_api_gateway_deployment" "placeholder" {
4444
]
4545

4646
triggers = {
47-
redeployment = sha1(jsonencode([
48-
aws_api_gateway_method.placeholder[each.key].id,
49-
aws_api_gateway_integration.placeholder[each.key].id,
50-
]))
47+
# Always redeploy to capture external changes (Serverless, etc.)
48+
redeployment = timestamp()
5149
}
5250

5351
lifecycle {

0 commit comments

Comments
 (0)