Skip to content

Commit 7016f1d

Browse files
Update main.tf
Co-authored-by: Anton Babenko <[email protected]>
1 parent da05c40 commit 7016f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ resource "aws_apigatewayv2_route" "this" {
127127
route_key = each.key
128128

129129
api_key_required = lookup(each.value, "api_key_required", null)
130-
authorization_scopes = try(lookup(each.value, "authorization_scopes", []), [])
130+
authorization_scopes = try(each.value.authorization_scopes, [])
131131
authorization_type = lookup(each.value, "authorization_type", "NONE")
132132
authorizer_id = lookup(each.value, "authorizer_id", null)
133133
model_selection_expression = lookup(each.value, "model_selection_expression", null)

0 commit comments

Comments
 (0)