This repository was archived by the owner on Jan 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-4
lines changed Expand file tree Collapse file tree 7 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ terraform-aws-cognito-auth-0.3.2 (2018-12-27)
2+
3+ * Updated all dependencies to fix security vulnerabilities
4+ * Moved common dependencies to top-level for faster builds
5+ * Fixed error with CloudFront Lambda@Edge function
6+
17terraform-aws-cognito-auth-0.3.1 (2018-09-10)
28
39 * Fixed registration error for empty email address
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ Add the following module to your Terraform configuration and apply it:
8686``` hcl
8787module "cognito-auth" {
8888 source = "github.com/squidfunk/terraform-aws-cognito-auth"
89- version = "0.3.0 "
89+ version = "0.3.2 "
9090
9191 namespace = "<namespace>"
9292 region = "<region>"
@@ -200,7 +200,7 @@ configuration and apply it:
200200``` hcl
201201module "cognito-auth" {
202202 source = "github.com/squidfunk/terraform-aws-cognito-auth"
203- version = "0.3.0 "
203+ version = "0.3.2 "
204204
205205 namespace = "example-auth"
206206 region = "us-east-1"
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ import {
3838 *
3939 * @return Promise resolving with modified response
4040 */
41- export function handler (
41+ export async function handler (
4242 event : CloudFrontResponseEvent
43- ) : CloudFrontResponse {
43+ ) : Promise < CloudFrontResponse > {
4444 const response = event . Records [ 0 ] . cf . response
4545
4646 /* Define security headers */
You can’t perform that action at this time.
0 commit comments