Open karaluh opened 1 year ago
I will open a PR in next days to fix that. I think this will include a breaking change
Can be closed 😄
Not quite:
│ Error: only alphanumeric characters and hyphens allowed in "name"
│
│ with module.nlb.aws_lb_target_group.default[0],
│ on .terraform/modules/nlb/main.tf line 155, in resource "aws_lb_target_group" "default":
│ 155: name = var.target_group_name == "" ? module.default_target_group_label.id : var.target_group_name
│
Describe the Bug
The 'enabled' input value is not actually used in the code for most of the resources. terraform plan for this module with enabled = false not only wants to create the NLB but also fails with an error:
Expected Behavior
The input value should be respected for all resources.
Steps to Reproduce
execute terraform plan for the code below.
Screenshots
No response
Environment
No response
Additional Context
No response