Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
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. https://github.com/hashicorp/terraform-provider-aws/blob/a72a7ff01e42010a75e0f8088aa53b96645d4ca9/internal/service/elbv2/validate.go#L82-L98
https://github.com/hashicorp/terraform-provider-aws/blob/e3c56e8aed8cfe637c9870e547984bcf023aaaa8/internal/service/elbv2/target_group.go#L149-L155
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