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?

Carl
preguntada hace 6 meses159 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 6 meses
  • Thanks your reply, I found the cause. it's problem in event pattern of EventBridge.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas