bottlerocket-os / bottlerocket-ecs-updater

A service to automatically manage Bottlerocket updates in an Amazon ECS cluster.
Other
47 stars 9 forks source link

Updater stack creates Loggroup if it does not exist #96

Closed srgothi92 closed 3 years ago

srgothi92 commented 3 years ago

Issue number: N/A

Description of changes: Previously, Updater would error out if provided log group name does not exist. With this change updater creates a loggroup with retention time of never expire, if it does not exist. For existing loggroup there will be no change.

Testing done:

  1. Started Updater stack on a cluster with non-existing log group name and saw it getting created and logstream published.
  2. Started Updater stack on same cluster with existing log group and saw log stream getting published without issue.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.