From 797fb7dec4535350ba17fce1a935e429d8fc1797 Mon Sep 17 00:00:00 2001 From: Stijn Seghers Date: Wed, 21 Apr 2021 20:53:02 +1200 Subject: [PATCH] fix: ubuntu example to log syslog instead of messages (#785) Unlike RHEL and CentOS, Ubuntu writes logs to /var/log/syslog instead of to /var/log/messages. This might have been different in the past. --- examples/ubuntu/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ubuntu/main.tf b/examples/ubuntu/main.tf index c169092633..60c397eb26 100644 --- a/examples/ubuntu/main.tf +++ b/examples/ubuntu/main.tf @@ -51,9 +51,9 @@ module "runners" { runner_log_files = [ { - "log_group_name" : "messages", + "log_group_name" : "syslog", "prefix_log_group" : true, - "file_path" : "/var/log/messages", + "file_path" : "/var/log/syslog", "log_stream_name" : "{instance_id}" }, {