Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate aws_alb_target_group name is less than 32 characters #11699

Merged
merged 1 commit into from
Feb 5, 2017

Conversation

netjunki
Copy link
Contributor

@netjunki netjunki commented Feb 4, 2017

aws_alb_target_group.test: Error creating ALB Target Group: ValidationError: Target group name 'VeryLongGroupNameWhichCausesAnError' cannot be longer than '32' characters
status code: 400, request id: cb020159-ea78-11e6-8546-15674f4fb6d2

I kept encountering this error during terraform apply and thought it would be better to validate that the field conforms to validation rules during plan. This PR adds a validation to the name field to ensure it is less than 32 characters.

@stack72
Copy link
Contributor

stack72 commented Feb 5, 2017

LGTM! Thanks for this :)

@stack72 stack72 merged commit 64e2381 into hashicorp:master Feb 5, 2017
@netjunki netjunki deleted the validate-target-group-name branch February 5, 2017 15:38
arcadiatea pushed a commit to ticketmaster/terraform that referenced this pull request Feb 9, 2017
@ghost
Copy link

ghost commented Apr 17, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants