This updates the log command when an app module uses cloudwatch logs to stream log groups that match a pattern.
The pattern relies on /* suffix as seen in the example app module output:
output "log_group_name" {
value = "/aws/elasticbeanstalk/${aws_elastic_beanstalk_application.this.name}/*"
description = "string ||| The pattern of cloudwatch log group names containing application logs"
}
Elastic Beanstalk emits to multiple log groups: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.cloudwatchlogs.html#AWSHowTo.cloudwatchlogs.loggroups
This updates the
log
command when an app module uses cloudwatch logs to stream log groups that match a pattern. The pattern relies on/*
suffix as seen in the example app module output: