Does anyone know of any projects or simple lambdas which might be able to run say once a month via event bridge schedule and list our all your sns, sqs, s3, ec2, albs, rds, lambda, dynamodb, vpc, transit gateway, vpn resources (etc) and save them as CSV to an s3 bucket?
AWS has this blog post [1] but I don’t need to track as its created rather take a snapshot in time as to what was deployed in my dev, staging and production accounts?
I’m sure solutions I perhaps don’t know what this is actually called to correctly google it.
Do you have a lot of ephemeral resources or a lot of static long lived resources? What are you hoping to accomplish by having this? You might consider account segmentation and then account level tagging so you can group tags and resources. Is this for cost, security, drift control?
Stuff does exist but we never found anything that met our requirements. We ended up building a relational database in RDS Aurora and used lambda and the AWS API to populate information. This was required because we had a large landing zone and so we needed to map assets back to accounts and owners metadata using relationships. We had tables for accounts, compute, compute inventory, cves, tags, networking devices, containers .. then plugged this into Quicksight for some nice dashboarding and monthly reporting.
On a smaller scale without the need for relational data I would say DynamoDB with some lambdas would work. You can also use services like Resource Explorer and Config. Config rules can be set to trigger a lambda when a resource changes, etc.