Skip to content

Commit

Permalink
ses arn not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ryands17 committed Aug 3, 2021
1 parent 5bd7b3b commit 0a3eb7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/backend/lib/passwordless-login-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export class PasswordlessLoginStack extends cdk.Stack {
removalPolicy: cdk.RemovalPolicy.DESTROY,
})

;(userPool.node.defaultChild as cg.CfnUserPool).emailConfiguration = {
sourceArn: `arn:aws:ses:us-east-1:${this.account}:identity/${process.env.SES_FROM_ADDRESS}`,
}

postAuthentication.role?.attachInlinePolicy(
new iam.Policy(this, 'allowConfirmingUser', {
statements: [
Expand Down

0 comments on commit 0a3eb7f

Please sign in to comment.