-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
lb_target_group: Handle attributes on create #21187
Conversation
Much of the logic in here probably needs to be looked at more thoroughly. As I recall, it was not revamped and cleaned up with the advent of GWLBs. One of the issues here was caused by stickiness.enabled having a default value. Since GWLBs don't support stickiness.enabled, even if it is false, we have this problem. This fixes that problem by simply not including stickiness if the protocol is GENEVE. However, based on these docs, we can probably do better than this. |
New output from acceptance tests (
Output from acceptance tests (
|
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.
Looks good 🚀
Acceptance test results in Commercial partition
--- PASS: TestLBTargetGroupCloudwatchSuffixFromARN (0.00s)
--- PASS: TestAccAWSLBTargetGroup_Protocol_Tls (57.41s)
--- PASS: TestAccAWSLBTargetGroup_ProtocolVersion (59.65s)
--- PASS: TestAccAWSLBTargetGroup_basic (59.98s)
--- PASS: TestAccAWSLBTargetGroup_withoutHealthcheck (61.49s)
--- PASS: TestAccAWSLBTargetGroup_ProtocolVersion_GRPC_HealthCheck (63.90s)
--- PASS: TestAccAWSLBTargetGroup_basicUdp (64.53s)
--- PASS: TestAccAWSLBTargetGroup_protocolGeneve (88.67s)
--- PASS: TestAccAWSLBTargetGroupAttachment_lambda (96.14s)
--- PASS: TestAccAWSLBTargetGroup_networkLB_TargetGroupWithProxy (123.22s)
--- PASS: TestAccAWSLBTargetGroup_Protocol_Tcp_HealthCheck_Protocol (124.39s)
--- PASS: TestAccAWSLBTargetGroup_TCP_HTTPHealthCheck (125.18s)
--- PASS: TestAccAWSLBTargetGroup_protocolGeneveNotSticky (126.40s)
--- PASS: TestAccAWSLBTargetGroup_BackwardsCompatibility (71.56s)
--- PASS: TestAccAWSLBTargetGroup_attrsOnCreate (131.56s)
--- PASS: TestAccAWSLBTargetGroup_namePrefix (72.15s)
--- PASS: TestAccAWSLBTargetGroup_generatedName (72.35s)
--- PASS: TestAccAWSLBTargetGroup_ProtocolVersion_HTTP_GRPC_Update (133.03s)
--- PASS: TestAccAWSLBTargetGroupAttachment_disappears (156.75s)
--- PASS: TestAccAWSLBTargetGroupAttachment_basic (158.87s)
--- PASS: TestAccAWSLBTargetGroupAttachment_ipAddress (159.76s)
--- PASS: TestAccAWSLBTargetGroupAttachment_BackwardsCompatibility (160.24s)
--- PASS: TestAccAWSLBTargetGroupAttachment_Port (160.79s)
--- PASS: TestAccAWSLBTargetGroup_changeNameForceNew (124.39s)
--- PASS: TestAccAWSLBTargetGroup_changeProtocolForceNew (126.95s)
--- PASS: TestAccAWSLBTargetGroup_changePortForceNew (128.21s)
--- PASS: TestAccAWSLBTargetGroup_defaults_application (66.12s)
--- PASS: TestAccAWSLBTargetGroup_networkLB_TargetGroup (198.21s)
--- PASS: TestAccAWSLBTargetGroup_stickinessDefaultALB (65.59s)
--- PASS: TestAccAWSLBTargetGroup_changeVpcForceNew (119.64s)
--- PASS: TestAccAWSLBTargetGroup_defaults_network (85.43s)
--- PASS: TestAccAWSLBTargetGroup_enableHealthCheck (103.13s)
--- PASS: TestAccAWSLBTargetGroup_updateHealthCheck (102.64s)
--- PASS: TestAccAWSLBTargetGroup_stickinessInvalidNLB (71.08s)
--- PASS: TestAccAWSLBTargetGroup_tags (145.21s)
--- PASS: TestAccAWSLBTargetGroup_stickinessValidALB (87.65s)
--- PASS: TestAccAWSLBTargetGroup_preserveClientIPValid (85.91s)
--- PASS: TestAccAWSLBTargetGroup_stickinessInvalidALB (86.19s)
--- PASS: TestAccAWSLBTargetGroup_updateSticknessEnabled (124.30s)
--- PASS: TestAccAWSLBTargetGroup_updateAppSticknessEnabled (124.05s)
--- PASS: TestAccAWSLBTargetGroup_stickinessDefaultNLB (118.99s)
--- PASS: TestAccAWSLBTargetGroup_stickinessValidNLB (138.74s)
This functionality has been released in v3.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #19953
Closes #17310
Closes #17309
Relates #15612
Output from acceptance testing (
us-west-2
):Output of acceptance tests (
GovCloud
):