-
Notifications
You must be signed in to change notification settings - Fork 630
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 possible panic during resourceCloudflareSpectrumApplicationRead #1599
Fix possible panic during resourceCloudflareSpectrumApplicationRead #1599
Conversation
Oops! It looks like no changelog entry is attached to this PR. Please include a release note as described in https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/docs/changelog-process.md. Example:
If you do not require a release note to be included, please add the |
@joshuamsager can you please add a test case exercising this new code path for coverage? |
Hey @jacobbednarz, when trying to come up with a test locally... I receive errors from the API server:
Which happens when I run any of the tests in: In any case, I added the test case I believe to test the new codepath in: d666c6c |
thanks, I'll pull this locally and have a look tomorrow. |
i managed to get to the bottom of this one, and it was a combination of account entitlements and tighter validation on some endpoints for payloads. i did have to mark your new test as pending in our acceptance test suite for now as it requires BYO IP setup and i don't yet have that (confirmed it was fixed in another account with BYO IP enabled though).
|
thanks for getting this one over the line @joshuamsager, you rock! |
This functionality has been released in v3.15.0 of the Terraform Cloudflare 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! |
Fixes a panic in
resourceCloudflareSpectrumApplicationRead
whereapplication.EdgeIPs.Connectivity
could be nil. This is impacting our team from upgrading to the latest provider version. We were previously on:v3.4.0
.Relavent logs:
It appears this regression was introduced here: https://github.com/cloudflare/terraform-provider-cloudflare/pull/1515/files#diff-98e27307f62b90eef57324e5dfb984be43e94aa8fcec759596265dd981f168efR116