Skip to content

Commit 1467b95

Browse files
authored
feat: Added enable_simple_responses and authorizer_credentials_arn to authorizers (#71)
1 parent 87c1de5 commit 1467b95

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.62.3
3+
rev: v1.72.1
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate
@@ -23,7 +23,7 @@ repos:
2323
- '--args=--only=terraform_standard_module_structure'
2424
- '--args=--only=terraform_workspace_remote'
2525
- repo: https://github.com/pre-commit/pre-commit-hooks
26-
rev: v4.1.0
26+
rev: v4.2.0
2727
hooks:
2828
- id: check-merge-conflict
2929
- id: end-of-file-fixer

main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ resource "aws_apigatewayv2_authorizer" "this" {
192192
authorizer_uri = try(each.value.authorizer_uri, null)
193193
authorizer_payload_format_version = try(each.value.authorizer_payload_format_version, null)
194194
authorizer_result_ttl_in_seconds = try(each.value.authorizer_result_ttl_in_seconds, null)
195+
authorizer_credentials_arn = try(each.value.authorizer_credentials_arn, null)
196+
enable_simple_responses = try(each.value.enable_simple_responses, null)
195197

196198
dynamic "jwt_configuration" {
197199
for_each = length(try(each.value.audience, [each.value.issuer], [])) > 0 ? [true] : []

0 commit comments

Comments
 (0)