We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da05c40 commit 7016f1dCopy full SHA for 7016f1d
main.tf
@@ -127,7 +127,7 @@ resource "aws_apigatewayv2_route" "this" {
127
route_key = each.key
128
129
api_key_required = lookup(each.value, "api_key_required", null)
130
- authorization_scopes = try(lookup(each.value, "authorization_scopes", []), [])
+ authorization_scopes = try(each.value.authorization_scopes, [])
131
authorization_type = lookup(each.value, "authorization_type", "NONE")
132
authorizer_id = lookup(each.value, "authorizer_id", null)
133
model_selection_expression = lookup(each.value, "model_selection_expression", null)
0 commit comments