You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if this is deployed from AWS Serverless Application Repository, the environment variable S3_CLOUD_TRAIL_LOG_PATTERN is defined.
("_" is inserted between "CLOUD" and "TRAIL")
This may introduce miss configuration by the users. They should have same environment variable name.
The text was updated successfully, but these errors were encountered:
shinji-newrelic
changed the title
Lambda function is created with invalid environment name.
Lambda function is created with invalid environment variable name.
Dec 11, 2023
In the code, environment variable with name S3_CLOUDTRAIL_LOG_PATTERN is read from environment variables.
https://github.com/newrelic/aws_s3_log_ingestion_lambda/blob/master/src/handler.py#L107
However if this is deployed from AWS Serverless Application Repository, the environment variable S3_CLOUD_TRAIL_LOG_PATTERN is defined.
("_" is inserted between "CLOUD" and "TRAIL")
https://github.com/newrelic/aws_s3_log_ingestion_lambda/blob/master/template.yml#L91
https://github.com/newrelic/aws_s3_log_ingestion_lambda/blob/master/template.yml#L128
This may introduce miss configuration by the users. They should have same environment variable name.
The text was updated successfully, but these errors were encountered: