(aws-cdk-lib/aws-lambda): (wrong AWS Parameters and Secrets Lambda Extension environment variables) #26011
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
Wrong environment variables
Key
s are beeing used to configure the AWS Parameters and Secrets Lambda Extension.https://github.com/aws/aws-cdk/blob/v2.84.0/packages/aws-cdk-lib/aws-lambda/lib/params-and-secrets-layers.ts#L222
Expected Behavior
Expected environment variables from the AWS docs: AWS Parameters and Secrets Lambda Extension environment variables:
PARAMETERS_SECRETS_EXTENSION_CACHE_ENABLED
PARAMETERS_SECRETS_EXTENSION_CACHE_SIZE
PARAMETERS_SECRETS_EXTENSION_HTTP_PORT
PARAMETERS_SECRETS_EXTENSION_MAX_CONNECTIONS
PARAMETERS_SECRETS_EXTENSION_LOG_LEVEL
Current Behavior
Environment variables set by cdk:
CloudWatch logs:
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.84.0 (build f7c792f)
Framework Version
No response
Node.js Version
18.16.0
OS
macOS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: