-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(aws-ecs): configFileValue should be optional in FirelensOptions #16594
Comments
I would like to raise awareness for this bug again. We are running into it, and the workaround is quite a lot of effort and also costly. All we want to do is disabling ECS metadata addition, but setting this option on the
|
Fixed via this: #20636 |
I think it only made it into CDK v2 tho: https://github.com/aws/aws-cdk/releases/tag/v2.34.0 |
@kaizencc Can you close this issue? I lack perms. |
|
configFileValue is defined as a required value in FirelensOptions
Reproduction Steps
configFileValue should be marked as optional here
aws-cdk/packages/@aws-cdk/aws-ecs/lib/firelens-log-router.ts
Line 64 in 7966f8d
What did you expect to happen?
I expect that a config like this example for Datadog is valid
https://github.com/aws-samples/amazon-ecs-firelens-examples/blob/mainline/examples/fluent-bit/datadog/task-definition.json
What actually happened?
Above config doesn't work since configFileValue is mandatory.
Environment
I'd be happy to provide an MR for this
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: