seeebiii / ses-email-forwarding Goto Github PK
View Code? Open in Web Editor NEWAWS CDK constructs to receive emails with SES and forward them to any other email address.
License: MIT License
AWS CDK constructs to receive emails with SES and forward them to any other email address.
License: MIT License
I'm getting this error when I do a cdk deploy
. I'm kind of new to the ckd and typescript so possibly I'm just making some beginner error
VitaminsStack failed: Error [ValidationError]: Template format error: Unrecognized resource types: [AWS::SES::ReceiptRuleSet, AWS::SES::ReceiptRule]
at Request.extractError (/opt/homebrew/Cellar/aws-cdk/2.64.0/libexec/lib/node_modules/aws-cdk/lib/index.js:31:33843)
at Request.callListeners (/opt/homebrew/Cellar/aws-cdk/2.64.0/libexec/lib/node_modules/aws-cdk/lib/index.js:31:76646)
at Request.emit (/opt/homebrew/Cellar/aws-cdk/2.64.0/libexec/lib/node_modules/aws-cdk/lib/index.js:31:76094)
at Request.emit (/opt/homebrew/Cellar/aws-cdk/2.64.0/libexec/lib/node_modules/aws-cdk/lib/index.js:31:182419)
at Request.transition (/opt/homebrew/Cellar/aws-cdk/2.64.0/libexec/lib/node_modules/aws-cdk/lib/index.js:31:175971)
at AcceptorStateMachine.runT
Great package @seeebiii Sebastian!
There's an issue with setting up a catch-all forwarder for an entire domain or subdomain.
Your emailMapping definition takes a "subdomain.domain.com" format, which is what's needed to create the forwarding rule in SES.
However, the aws-lambda-ses-forwarder
package is expecting the input to be "@subdomain.domain.com", with the leading "@".
I was thinking that when you write the mapping to SSM, if the receiveEmail
is not a valid e-mail, but rather a subdomain or domain, then you prepend "@" before saving in SSM so that aws-lambda-ses-forwarder
can properly forward email from the entire (sub)domain.
EmailForwardingRuleSet/EmailForwardingRule-0/EmailForwardingFunction: Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: 124fd8f3-53b5-478e-a8e7-ed5075c5e7fe)" (RequestToken: eafdb84e-8fb3-0283-1223-881c1581b1f2, HandlerErrorCode: InvalidRequest)
==========
Can we get this bumped up?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.