nullstone-io / nullstone

Nullstone is a customizable developer platform launched on your cloud accounts.
https://nullstone.io
MIT License
39 stars 1 forks source link

Multiple log groups #176

Closed BSick7 closed 9 months ago

BSick7 commented 9 months ago

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:

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"
}