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
已提问 6 个月前156 查看次数
1 回答
1
已接受的回答

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
专家
已回答 6 个月前
  • Thanks your reply, I found the cause. it's problem in event pattern of EventBridge.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则