Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- 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
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
- aws_globalaccelerator_accelerator
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource "aws_globalaccelerator_accelerator" "this" {
name = "tes-mount-test-global-accelerator"
}
Debug Output
Error: expected length of name to be in the range (1 - 32), got syn-scout-test-global-accelerator
Expected Behavior
The plan time validation in #17739 has broken our Terraform project. The expected length of name to be in the range for the aws_globalaccelerator_accelerator should be (1 - 64) and not (1 - 32). Our plans for previously created resources are failing. Check the API documentation for name range.
Error: expected length of name to be in the range (1 - 32), got tes-catlo-besg-global-accelerator
Even though this name is within the allowed range.
Actual Behavior
The plan time validation for the name length should be between 1-64 and not 1-32
Steps to Reproduce
terraform apply
Important Factoids
References
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
The plan time validation in #17739 has broken our Terraform project. The expected length of name to be in the range for the aws_globalaccelerator_accelerator should be (1 - 64) and not (1 - 32). Our plans for previously created resources are failing. Check the API documentation for name range.
Even though this name is within the allowed range.
Actual Behavior
The plan time validation for the name length should be between 1-64 and not 1-32
Steps to Reproduce
terraform applyImportant Factoids
References