Skip to content

Validation check of Global Accelerator is different from AWS Console #17978

@n-osanai

Description

@n-osanai

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

Terraform v0.13.5
+ provider registry.terraform.io/hashicorp/aws v3.31.0

Affected Resource(s)

  • aws_globalaccelerator_accelerator

Terraform Configuration Files

provider "aws" {
  region = "us-east-1"
}

resource "aws_globalaccelerator_accelerator" "example" {
  name = "test-accelerator-test-accelerator"
}

Debug Output

Expected Behavior

  • Terraform create the accelerator with over 32 characters name.

Actual Behavior

Error: expected length of name to be in the range (1 - 32), got test-accelerator-test-accelerator

  on main.tf line 3, in resource "aws_globalaccelerator_accelerator" "this":
   3:   name            = "test-accelerator-test-accelerator"

Steps to Reproduce

  1. only try to create global accelerator with over 32 characters name.

Important Factoids

  • AWS document says confusing sentences.
  • But I examined, It seems that It can create global accelerator with up to 64 characters.

スクリーンショット 2021-03-08 20 42 16

  • Actually, I can create 64 characters global accelerator.

スクリーンショット 2021-03-08 20 44 13

Metadata

Metadata

Assignees

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