DataDog / cloudformation-template

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

Update lambda for DD API call from 3.12 to 3.11 for gov #120

Closed sabiurr closed 1 month ago

sabiurr commented 1 month ago

What does this PR do?

Update lambda for DD API call from 3.12 to 3.11. This is needed as python 3.12 is not a supported runtime for Gov AWS

Error ->

Resource handler returned message: "Value python3.12 at 'runtime' failed to satisfy constraint: Member must satisfy enum value set: [provided.al2, java8.al2, java17, ruby3.2, nodejs16.x, python3.8, python3.9, python3.10, java11, python3.11, dotnet6, nodejs18.x]

Follow up from https://github.com/DataDog/cloudformation-template/pull/113

Motivation

This is needed to integrate Gov AWS accounts into datadog

Testing

Tested with private sandbox