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
When the var.lambda_at_edge variable is set to true, the CloudWatch log group created by this module is named /aws/lambda/us-east-1.${var.function_name}. However, the logging configuration for the Lambda function does not align with this and instead points to the log group /aws/lambda/${var.function_name}.
✋ I have searched the open/closed issues and my issue is not listed.
Versions
Module version [Required]: 7.17.0
Terraform version: OpenTofu v1.8.5 on darwin_arm64
Description
When the
var.lambda_at_edge
variable is set totrue
, the CloudWatch log group created by this module is named/aws/lambda/us-east-1.${var.function_name}
. However, the logging configuration for the Lambda function does not align with this and instead points to the log group/aws/lambda/${var.function_name}
.Versions
7.17.0
OpenTofu v1.8.5 on darwin_arm64
registry.opentofu.org/hashicorp/aws 5.81.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Deploy Lambda and navigate to AWS console to check the logs for created Lambda function.
Expected behavior
Lambda logging group should be set to
/aws/lambda/us-east-1.example
Actual behavior
Lambda logging group is set to
/aws/lambda/example
, however Cloudwatch log group created by the module is named/aws/lambda/us-east-1.example
The text was updated successfully, but these errors were encountered: