Closed chrisforrette closed 2 years ago
Closed with #17
@bryantbiggs @Vrtak-CZ Thank you!
Hello, I just got the same error while using 4.1.0 version of this module. I can still see references to python3.9 here (which I assume is what caused my deployment to use python 3.9) https://github.com/terraform-aws-modules/terraform-aws-datadog-forwarders/blob/c7e6d1995b0aabd98557932c7735d08c285777ed/variables.tf#L208 . Should these occurrences be changed to 3.7 too?
@jhrcek thats probably because we are using only log_forwarder submodule. So I updated config only for log_forwarders not for the whole module. Datadog says the forwarders should run with Python 3.7 so the default for all forwarders should be 3.7.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Describe the bug
Hey there, so I recently attempted an upgrade of this module to the latest version (3.7.0) from 3.1.1 and the forwarder Lambda started failing and spitting out these logs:
I was previously pinned to version 3.1.1 of this module and 3.40.0 of the Datadog forwarder and tried to update to 3.7.0 and 3.44.0, respectively. Though if I pin to 3.7.0 and forwarder version 3.40.0, I see this in the plan and it still breaks:
I'm guessing this has to do with the architecture and Python runtime updates introduced in v3.5.0, and I found your GitHub issue with the exact same log over here: https://github.com/DataDog/datadog-lambda-python/issues/88 ...but I'm not clear on how to remediate and I'd love any insight or suggestions you might have as it seems you've dug into it pretty deep.
To Reproduce This is my old configuration:
And this is the new configuration that broke, though the
log_forwarder_version
can be set to 3.40.0 and the error still occurs:Expected behavior
The forwarder Lambda function continues to run without error
Thanks!