Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Log Configurations #76

Open
yuvalberk opened this issue Oct 26, 2022 · 3 comments
Open

add Log Configurations #76

yuvalberk opened this issue Oct 26, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@yuvalberk
Copy link

Feature request

please add the option to add Log Configuration to the Container definitions in the task Definition

container_definitions = <<DEFINITION [ { "name": "${var.repository_name}", "image": "${var.repository_uri}", "essential": true, "portMappings": [ { "containerPort": 5000, "hostPort": 5000 } ], "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group": "${var.cloudwatch_group}", "awslogs-region": "eu-central-1", "awslogs-stream-prefix": "ecs" } } } ] DEFINITION

@larstobi
Copy link
Contributor

@yuvalberk Thanks for opening this issue!

Would you like to only specify the log group and stream, or also other parameters?

@larstobi larstobi added the enhancement New feature or request label Oct 26, 2022
@yuvalberk
Copy link
Author

yuvalberk commented Oct 26, 2022 via email

@k1rd3rf
Copy link
Contributor

k1rd3rf commented Feb 17, 2023

Would it be possible to add the ability to override the whole logConfiguration object?

I.e. I would like to use awsfirelens as log driver, and set some options, per: https://docs.datadoghq.com/integrations/ecs_fargate/?tab=webui#fluent-bit-and-firelens

k1rd3rf added a commit to k1rd3rf/terraform-aws-ecs-fargate that referenced this issue Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants