Hi,
I am currently using your pipeline in my project with the atlassian/aws-sam-deploy:2.3.0 image. In the AWS SAM CLI version released in January 2023, we can specify the log group to which the Lambda function will write logs specifically.
However, since atlassian/aws-sam-deploy:2.3.0 uses an older version of sam cli, when we add this feature, we encounter the error 'property LogGroupName not defined for resource of type AWS::Serverless::Function.' The 'sam build' and 'deploy' processes work successfully when tested locally with the up-to-date SAM CLI.
LoggingConfig:
LogGroup: /aws/your-log-group