AWS Lambda Terraform module

Upstream version 8.9.0
5 controls from AWS Well-Architected Framework v10 requirements

Terraform Module Source

awswellarchitected.compliance.tf/terraform-aws-modules/lambda/aws
CloudWatch log groups should have retention period of at least 365 days
cloudwatch_log_group_retention_period_365
Framework requirement
ECR repositories should have image scan on push enabled
ecr_repository_image_scan_on_push_enabled
Framework requirement
Lambda functions CORS configuration should not allow all origins
lambda_function_cors_configuration
Framework requirement
Lambda functions should restrict public URL
lambda_function_restrict_public_url
Framework requirement
Log groups should have encryption at rest enabled
log_group_encryption_at_rest_enabled
Framework requirement