-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
error setting health_check with AWS 2.5.0 when performing a target_group data lookup #8209
Comments
Possibly this commit: |
Yes, it looks like |
The data source's acceptance tests are failing also: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAWSALBTargetGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccDataSourceAWSALBTargetGroup_ -timeout 120m
=== RUN TestAccDataSourceAWSALBTargetGroup_basic
=== PAUSE TestAccDataSourceAWSALBTargetGroup_basic
=== CONT TestAccDataSourceAWSALBTargetGroup_basic
--- FAIL: TestAccDataSourceAWSALBTargetGroup_basic (170.42s)
testing.go:538: Step 0 error: Error applying: 2 errors occurred:
* data.aws_lb_target_group.alb_tg_test_with_arn: data.aws_lb_target_group.alb_tg_test_with_arn: error setting health_check: Invalid address to set: []string{"health_check", "0", "enabled"}
* data.aws_lb_target_group.alb_tg_test_with_name: data.aws_lb_target_group.alb_tg_test_with_name: error setting health_check: Invalid address to set: []string{"health_check", "0", "enabled"}
testing.go:599: Error destroying resource! WARNING: Dangling resources
may exist. The full state and error is shown below.
Error: Error refreshing: 2 errors occurred:
* data.aws_lb_target_group.alb_tg_test_with_arn: 1 error occurred:
* data.aws_lb_target_group.alb_tg_test_with_arn: data.aws_lb_target_group.alb_tg_test_with_arn: error setting health_check: Invalid address to set: []string{"health_check", "0", "enabled"}
* data.aws_lb_target_group.alb_tg_test_with_name: 1 error occurred:
* data.aws_lb_target_group.alb_tg_test_with_name: data.aws_lb_target_group.alb_tg_test_with_name: error setting health_check: Invalid address to set: []string{"health_check", "0", "enabled"}
State: <nil>
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 170.443s
GNUmakefile:20: recipe for target 'testacc' failed
make: *** [testacc] Error 1 |
👍 |
The fix for this has been merged and will release with version 2.6.0 of the Terraform AWS Provider, early next week. |
I am also struggling w/ this error..... So.. this IS a bug w/ Terraform AWS Provider 2.5.0? This was recently released last week. So.. 2.6.0 is coming out this week to fix? |
The fix for this has been released in version 2.6.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
Thanks for this fix, just ran into this bug. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: