@@ -89,7 +89,7 @@ module "api_gateway" {
8989 }
9090 authorizer_key = " cognito"
9191 }
92-
92+
9393 " POST /users/update-role" = {
9494 integration = {
9595 uri = module.lambda_service.lambda_function_arn
@@ -106,31 +106,31 @@ module "api_gateway" {
106106 }
107107 authorizer_key = " cognito"
108108 }
109-
109+
110110 " POST /products" = {
111111 integration = {
112112 uri = module.lambda_service.lambda_function_arn
113113 payload_format_version = " 2.0"
114114 }
115115 authorizer_key = " cognito"
116116 }
117-
117+
118118 " GET /products/{id}" = {
119119 integration = {
120120 uri = module.lambda_service.lambda_function_arn
121121 payload_format_version = " 2.0"
122122 }
123123 authorizer_key = " cognito"
124124 }
125-
125+
126126 " PUT /products/{id}" = {
127127 integration = {
128128 uri = module.lambda_service.lambda_function_arn
129129 payload_format_version = " 2.0"
130130 }
131131 authorizer_key = " cognito"
132132 }
133-
133+
134134 " DELETE /products/{id}" = {
135135 integration = {
136136 uri = module.lambda_service.lambda_function_arn
@@ -147,15 +147,15 @@ module "api_gateway" {
147147 }
148148 authorizer_key = " cognito"
149149 }
150-
150+
151151 " POST /orders" = {
152152 integration = {
153153 uri = module.lambda_service.lambda_function_arn
154154 payload_format_version = " 2.0"
155155 }
156156 authorizer_key = " cognito"
157157 }
158-
158+
159159 " PUT /orders/{id}" = {
160160 integration = {
161161 uri = module.lambda_service.lambda_function_arn
@@ -172,7 +172,7 @@ module "api_gateway" {
172172 }
173173 authorizer_key = " cognito"
174174 }
175-
175+
176176 " GET /trace" = {
177177 integration = {
178178 uri = module.lambda_service.lambda_function_arn
@@ -189,7 +189,7 @@ module "api_gateway" {
189189 }
190190 authorizer_key = " cognito"
191191 }
192-
192+
193193 " GET /retailers" = {
194194 integration = {
195195 uri = module.lambda_service.lambda_function_arn
@@ -206,7 +206,7 @@ module "api_gateway" {
206206 }
207207 # No authorizer - public endpoint for consumers
208208 }
209-
209+
210210 " GET /public/trace" = {
211211 integration = {
212212 uri = module.lambda_service.lambda_function_arn
0 commit comments