[Bug]: aws_dx_gateway name validation error when using underscores #30732
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/directconnect
Issues and PRs that pertain to the directconnect service.
Terraform Core Version
1.4.2
AWS Provider Version
4.63.0
Affected Resource(s)
aws_dx_gateway
Expected Behavior
Validation should work for dx_gateway name which uses
_
. It is acceptable in AWS console.Actual Behavior
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
apply above code
Panic Output
No response
Important Factoids
No response
References
Problem introduced by this
https://github.com/hashicorp/terraform-provider-aws/pull/30375/files
Validation also fails when I use the following
name = "LDN-IXN-ENG-1"
which should be allowed.Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: