former2
former2 copied to clipboard
terraform resource aws_api_gateway_authorizer generated incorrect output
The resource aws_api_gateway_authorizer was generated as
resource "aws_api_gateway_authorizer" "<terraform id>" {
rest_api_id = "<api id>"
name = "<name>"
type = "TOKEN"
AuthType = "custom"
authorizer_uri = "<auth uri>"
identity_source = "method.request.header.Authorization"
identity_validation_expression = "Bearer (.*)"
authorizer_result_ttl_in_seconds = 300
}
AuthType
is not a valid terraform argument for this resource. According to the docs, there doesn't appear to be a mappable equivalent.