Skip to content

Name plan time validation aws_globalaccelerator_accelerator broken #18110

@e-moshaya

Description

@e-moshaya

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

  1. terraform apply

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.service/globalacceleratorIssues and PRs that pertain to the globalaccelerator service.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions