Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: SES to SNS set_identity_notification_topic #10799

Open
1 task done
ShedPlant opened this issue May 9, 2024 · 0 comments
Open
1 task done

feature request: SES to SNS set_identity_notification_topic #10799

ShedPlant opened this issue May 9, 2024 · 0 comments
Labels
aws:ses Amazon Simple Email Service status: backlog Triaged but not yet being worked on type: feature New feature, or improvement to an existing feature

Comments

@ShedPlant
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

I have a SES Identity with Identity Notification Topics set up for Bounce, Complaint and Delivery. No Configuration Set is used.

It works in production i.e. every time an email is sent, something is published onto the SNS Topic and I can have something subscribe to the topic and do something with it.

In localstack I can see that some SES -> SNS support was added by #7207 .
However I think this only works for Configuration Sets and not the simpler 'set identity notification topic' command?

I have started localstack 3 from docker image and my resource setup is like:

email_event_topic_arn = (sns_client.create_topic(
    Name="email-event-topic",
))["TopicArn"]
my_domain = "whatever.net"

ses_client.verify_domain_identity(Domain=my_domain)

ses_client.set_identity_notification_topic(
    Identity=my_domain,
    NotificationType="Delivery",
    SnsTopic=email_event_topic_arn,
)

I can see in localstack's logs:

AWS sns.CreateTopic => 200
AWS ses.VerifyDomainIdentity => 200
AWS ses.SetIdentityNotificationTopic => 200

If I test sending email in isolation, I can use localstack's HTTP API /_aws/ses to retrieve it ✅ .
If I post directly onto the email event topic, my subscriber lambda is invoked and does what it needs to do ✅ .
However, sending the email doesn't cause my email event topic subscriber lambda to be invoked 🔴 .

Is this not supported yet or have I done something wrong?

Thanks for all your work on localstack 🖖 !

🧑‍💻 Implementation

No response

Anything else?

No response

@ShedPlant ShedPlant added status: triage needed Requires evaluation by maintainers type: feature New feature, or improvement to an existing feature labels May 9, 2024
@Anze1508 Anze1508 added aws:ses Amazon Simple Email Service status: backlog Triaged but not yet being worked on and removed status: triage needed Requires evaluation by maintainers labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:ses Amazon Simple Email Service status: backlog Triaged but not yet being worked on type: feature New feature, or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants