DataDog / cloudformation-template

Easily set up the Datadog AWS integration using CloudFormation
Apache License 2.0
34 stars 42 forks source link

Upgrade datadog policy macro lambda to python 3.9 #60

Closed bellmatt closed 10 months ago

bellmatt commented 1 year ago

What does this PR do?

Fixes https://github.com/DataDog/cloudformation-template/issues/58 by upgrading the datadog policy macro to use python3.9 instead of python3.7 which will be end of support soon https://endoflife.date/python

Motivation

To ensure those using the policy macro lambda function can continue to run it using a supported python runtime.

Testing Guidelines

Deploy or update cloudformation template containing this change

Additional Notes

RaphaelAllier commented 10 months ago

LGTM, thanks for contributing !

plumdog commented 10 months ago

@RaphaelAllier Really happy to see this change merged - should I expect to see it released soon? Currently this change isn't reflected in the template in the S3 bucket:

$ curl -s 'https://datadog-cloudformation-template.s3.amazonaws.com/aws/datadog_policy_macro.yaml' | yq .Resources.DatadogPolicyMacroMacroFunction.Properties.Runtime
python3.7
RaphaelAllier commented 10 months ago

Hello @plumdog I just deployed a new version of the policy macro template, changes should now be reflected properly