Fix Operator agreement acceptance in Lambda runtimes - #352
Merged
Conversation
fanny-jiang
marked this pull request as ready for review
August 25, 2026 16:32
gpalmz
approved these changes
Aug 26, 2026
RaphaelAllier
approved these changes
Aug 27, 2026
Contributor
Author
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
cannot trigger DDCI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Add a botocore compatibility model for the AWS Marketplace Agreement operations and paginators missing from the Lambda runtime:
The compatibility layer patches only missing definitions and preserves definitions supplied natively by newer SDK versions. This retains botocore request validation, SigV4 signing, retries, response parsing, and paginator behavior.
The release process inlines the compatibility model into the CloudFormation ZipFile Lambda, and initialization logs report whether the compatibility model was applied. The Quick Start template version is bumped to v4.19.1.
Motivation
The Python 3.14 Lambda runtime currently bundles boto3 1.42.97. Its Marketplace Agreement model does not expose all operations and paginators required to discover, create, accept, and verify the Datadog Operator agreement. This caused EKS Quick Start onboarding to fail before the managed add-on could be installed.
Testing Guidelines
Additional Notes
CloudFormation deletion continues to retain the Marketplace agreement. The compatibility layer becomes a no-op once the Lambda runtime provides all required native definitions. It can be removed, along with its tests and release inlining, after those definitions are verified across every supported Python runtime and AWS Region.