Skip to content

ECS formatted image name is not suitable as a default log group #65

@ChenAndrew

Description

@ChenAndrew

currently, the ECSEnvironment getName() returns a name in the format of "imageName:tag". This does not fit the regex for cloudwatch groups.

I'm getting the following error

2021-01-26T00:51:53Z E! [outputs.cloudwatchlogs] InvalidParameterException: 1 validation error detected: Value 'testServiceName:latest-metrics' at 'logGroupName' failed to satisfy constraint: Member must satisfy regular expression pattern: [\.\-_/#A-Za-z0-9]+, will not retry the request
--

I know you can override this by using the environment variable but this should work out of the box.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions