So far I have created an AWS Config rule, created and configured an S3 bucket to receive the Config data, created an Amazon Athena table for my Config data as well as the lambda function. I also have two t2.micro instances running with configurations that make it non-compliant.
My database name in Athena is different than the one shown in the blogs. So I have replaced the database name "sampledb" to "default" wherever applicable.
Also, it mentions to edit the region and dt partition keys, based on the Region and date of the given configuration snapshot files in the Lambda function but I do not see where I can do that. The function should automatically retrieve my region and date.