[Bug]: aws_lb_target_group name_prefix validation #27556
Labels
bug
Addresses a defect in current functionality.
service/elbv2
Issues and PRs that pertain to the elbv2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Terraform Core Version
1.3.3
AWS Provider Version
4.37.0
Affected Resource(s)
name_prefix
ofaws_lb_target_group
's ValidateFunc.Expected Behavior
This validation should Ignore variables or consider expansion.
Actual Behavior
This validation is return invalid even if
name_prefix
has variable.And If value length exceeded 6, it return invalid.
validation code.
terraform-provider-aws/internal/service/elbv2/validate.go
Lines 82 to 98 in a72a7ff
terraform-provider-aws/internal/service/elbv2/target_group.go
Lines 149 to 155 in e3c56e8
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No response
The text was updated successfully, but these errors were encountered: