Duplicate EC2 creation notification in Config

0

I created an EC2 creation notification SNS email by referring to the following link.

https://repost.aws/knowledge-center/config-email-resource-created

The overall architecture is as follows.

Once EC2 is created >> Config >> EventBridge >> SNS Mail

Notifications work well, but there is an issue where the email is received twice when EC2 is created.

In the EventBridge log, we confirmed that EventBridge is called twice when EC2 is created.

EventBridge Log

How do I solve this problem?

1 Antwort
1
Akzeptierte Antwort

Hello.

I tried the same settings in my environment, but I was able to confirm that the email was only delivered once.
So, I thought that there was no problem with the document settings themselves.

The email contains the EC2 instance ID, but are the first and second IDs the same?
If this ID is different, you may have started EC2 twice.

profile picture
EXPERTE
beantwortet vor 6 Monaten
  • Thanks your reply, I found the cause. it's problem in event pattern of EventBridge.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen