Is it possible to tag ENI created by Load Balancer?

0

Enter image description here I've 2 public load balancers and each of them is connected to 2 availability zones so in total I've 4 ENI created automatically. Is there a way to tag those ENI automatically with Env, Role, and State tags each time that ENI is re-created?

Gridics
已提問 2 個月前檢視次數 236 次
1 個回答
0

Hello.

When an ALB ENI is created, an event called "CreateNetworkInterface" is recorded in CloudTrail.
I think it is possible to set tags on the created ENI by starting Lambda from EventBridge using this event.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule.html

profile picture
專家
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南