-
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
Fix flipping health_check_path on GA #12271
Fix flipping health_check_path on GA #12271
Conversation
Thanks for linking related issues. I wasn't able to find the previous one when I submit my PR. Hopefully there will be some traction now that multiple issues exist. |
@aquarhead Yes, we are hoping to make progress on some of the non-Core services. |
So should If |
@aquarhead Remove |
Added, do I need to change other if statement? |
@aquarhead Yes, there should be no need for those additional if statements now, but of course use the acceptance tests to verify. Thanks. |
Just removed all
Seems Actually all I care is that TF does not consider itself needs to update any values because of |
@aquarhead After every acceptance test step effectively a |
@ewbankkit Thanks for that information, according to that I think just running a single TCP endpoint group creation test is enough, I've rebased all the changes and onto (this morning's) master. And acceptance test passes too:
|
Verified acceptance tests: $ make testacc TEST=./aws TESTARGS='-run=TestAccAwsGlobalAcceleratorEndpointGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsGlobalAcceleratorEndpointGroup_ -timeout 120m
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_update
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_update
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_update
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_basic (215.15s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_tcp (216.12s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_update (240.11s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 240.215s @aquarhead One minor tweak to the documentation and then this looks good. Thanks. |
Closes #9329. |
Do I need to tweak the "Release note for CHANGELOG:" section in the OP ? |
CHANGELOG looks OK. |
- Set `health_check_path` to Computed without Default - Update documentation
@ewbankkit Sorry, in the afternoon I thought I've added the doc change.... Just added now according to our discussion |
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.
LGTM.
$ make testacc TEST=./aws TESTARGS='-run=TestAccAwsGlobalAcceleratorEndpointGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsGlobalAcceleratorEndpointGroup_ -timeout 120m
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_update
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_update
=== RUN TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== PAUSE TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_basic
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_tcp
=== CONT TestAccAwsGlobalAcceleratorEndpointGroup_update
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_tcp (195.20s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_basic (196.92s)
--- PASS: TestAccAwsGlobalAcceleratorEndpointGroup_update (231.21s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 231.272s
Please note that the commits from this pull request were included with #14486 and merged for release in version 3.4.0 of the Terraform AWS Provider. |
This has been released in version 3.4.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 for triage. Thanks! |
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! |
health_check_path
Community Note
Release note for CHANGELOG:
Output from acceptance testing:
I'm proposing this change because for TCP endpoint groups there's no
health_check_path
:With previous code,
terraform plan
will attempt to add a default/
every time:But AWS doesn't care about it so it keeps try to add the field forever.