-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Add name_prefix
to aws_alb_target_group
#13442
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ resource "aws_vpc" "main" { | |
|
||
The following arguments are supported: | ||
|
||
* `name` - (Required) The name of the target group. | ||
* `name` - (Optional, Forces new resource) The name of the target group. If omitted, Terraform will assign a random, unique name. | ||
* `name_prefix` - (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts with `name`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please include the character limits here in the documentation? Also, why the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The 6 character limit is because |
||
* `port` - (Required) The port on which targets receive traffic, unless overridden when registering a specific target. | ||
* `protocol` - (Required) The protocol to use for routing traffic to the targets. | ||
* `vpc_id` - (Required) The identifier of the VPC in which to create the target group. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be
6
, not32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ashb - what makes you think it should be 6?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That the message on the next line says 6! (I came here because I got this error upon trying name_prefix:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the discussion https://github.com/hashicorp/terraform/pull/13442/files#r110410247