How to assign the tags to all resource using trail logs, event bridge and lambda for all region tags like Key - Created by and Value - Arn(from trail event record)
Thank you for watching my videos. You can create an EventBridge rule which capture all resources creation and adds tags to the resource using add tag api via AWS lambda. I shall create new video on this topic soon.
Bro, can you share the IAM permission role which you have given to your lambda function. I am using your lambda script but it is unable to apply tags. Can you help me in this.
Thank you for watching my videos. I have used admin role which is trusted by lambda. In your case and to be least privileged A I am role trusted by lambda with lambda execution policy attached + IAM policy which tag on all resource permissions + Access on Resource Group service + other needed policy. Hope this helps
@@cloudquicklabs Hi Bro, the issue is resolved now. Thanks for your quick response. The issue is with my Resource Explore index, seem previously I wasn't create it correctly. Later I deleted and recreated it, that brought the solution. Thank you for your wonderful videos.
How to assign the tags to all resource using trail logs, event bridge and lambda for all region
tags like Key - Created by and Value - Arn(from trail event record)
Thank you for watching my videos.
You can create an EventBridge rule which capture all resources creation and adds tags to the resource using add tag api via AWS lambda. I shall create new video on this topic soon.
Bro, can you share the IAM permission role which you have given to your lambda function. I am using your lambda script but it is unable to apply tags. Can you help me in this.
Thank you for watching my videos.
I have used admin role which is trusted by lambda.
In your case and to be least privileged
A I am role trusted by lambda with lambda execution policy attached + IAM policy which tag on all resource permissions + Access on Resource Group service + other needed policy.
Hope this helps
@@cloudquicklabs Hi Bro, the issue is resolved now. Thanks for your quick response. The issue is with my Resource Explore index, seem previously I wasn't create it correctly. Later I deleted and recreated it, that brought the solution. Thank you for your wonderful videos.