Open
Description
Describe the Bug
When setting var logging_enabled = true, and setting logging_stream_name with a string value, running gives this error:
Error: "name" isn't a valid log group name (alphanumeric characters, underscores, hyphens, slashes, hash signs and dots are allowed): ""
│
│ with module.vpn.module.cloudwatch_log.aws_cloudwatch_log_group.default[0],
│ on .terraform/modules/vpn.cloudwatch_log/main.tf line 17, in resource "aws_cloudwatch_log_group" "default":
│ 17: name = module.log_group_label.id
Expected Behavior
Terraform threw an error because there is no code setting the cloudwatch log group name.
Steps to Reproduce
See description.
Screenshots
No response
Environment
OS: Linux
Terraform version: 1.5.6
Module version: 1.0
Additional Context
No response