-
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
In the initial setting of NLB, deregistration_delay is not applied. #17309
Comments
This certainly looks like a bug and if I had to offer a guess, it could be this terraform-provider-aws/aws/resource_aws_lb_target_group.go Lines 427 to 432 in 0d3fd79
Is not triggering on creation because the Terraform Plugin SDK is hiding the (The linked PR #17310 is also a valid bug fix, however I would guess that it won't solve this problem since it is only adjusting the Read functionality.) |
i'm find root cause why Target Group Attribute was not applied custom value. The elbv2 api of aws-sdk-go repo is not exist CreateTargetGroupAttributes method. so, to put a non-default value, you have to induce to modify the attribute once more, as you said. But I don't know if this is the right way. reference link : https://github.com/aws/aws-sdk-go/blob/master/service/elbv2/api.go |
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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #19953
Terraform CLI and Terraform AWS Provider Version
Terraform CLI : Terraform v0.12.24
Terraform AWS Provider Version : 3.25.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
i was expect that deregistration_delay.timeout_seconds is "0". terraform apply result as below:
Actual Behavior
The terraform plan and terraform apply results were all the values I wanted, but they were actually different. the deregistration_delay.timeout_seconds was set to the default value of 300 seconds.
Also, when the plan is executed once more, it is confirmed that it changes from 300 seconds to 0 seconds. I found something wrong in the resource_aws_lb_target_group.so source.
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: