File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ Resources :
2+ GatewayResponseDefault4XX :
3+ Type : ' AWS::ApiGateway::GatewayResponse'
4+ Properties :
5+ ResponseParameters :
6+ gatewayresponse.header.Access-Control-Allow-Origin : " '*'"
7+ gatewayresponse.header.Access-Control-Allow-Headers : " '*'"
8+ ResponseType : DEFAULT_4XX
9+ RestApiId :
10+ Ref : ' ApiGatewayRestApi'
11+ GatewayResponseDefault5XX :
12+ Type : ' AWS::ApiGateway::GatewayResponse'
13+ Properties :
14+ ResponseParameters :
15+ gatewayresponse.header.Access-Control-Allow-Origin : " '*'"
16+ gatewayresponse.header.Access-Control-Allow-Headers : " '*'"
17+ ResponseType : DEFAULT_5XX
18+ RestApiId :
19+ Ref : ' ApiGatewayRestApi'
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ functions:
115115 cors : true
116116 authorizer : aws_iam
117117
118+ <<<<<<< HEAD
118119 billing :
119120 handler : billing.main
120121 events :
@@ -126,6 +127,8 @@ functions:
126127
127128# Create our resources with separate CloudFormation templates
128129resources :
130+ # API Gateway Errors
131+ - ${file(resources/api-gateway-errors.yml)}
129132 # DynamoDB
130133 - ${file(resources/dynamodb-table.yml)}
131134 # S3
You can’t perform that action at this time.
0 commit comments