-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Breaking change - Add integration for subnetworks with internal ranges API #10897
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
Breaking change - Add integration for subnetworks with internal ranges API #10897
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @roaks3, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
@trodge FYI! As discussed on: hashicorp/terraform-provider-google#18300 @c2thorn +1 for visibility |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccComputeInstanceNetworkIntefaceWithSecurityPolicy|TestAccComputeSubnetwork_subnetworkReservedInternalRangeExample|TestAccComputeSubnetwork_subnetworkReservedSecondaryRangeExample |
|
@roaks3 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team @roaks3 This PR has been waiting for review for 1 week. Please take a look! Use the label |
@trodge passing this one to you, since it looks like you did the initial review. I'm not adding |
I've updated the base branch to point to the major release branch. This should be good to continue. I've forgotten what the exact breaking change is here - but please follow the steps here to edit the upgrade guide so User's know how to handle the breaking change. |
Thank you @c2thorn, the issue was that one of the fields was treated required while it was optional. See also: #10697 If I recall correctly, it was related to this issue: hashicorp/terraform-provider-google#18115 where @rileykarson explains the issue in detail. I am not sure if it's already fixed in this major release, if not, we indeed have to update the documentation and add more tests I think? Happy to hear your advice. |
@daanheikens Thanks for the information. As I now understand, this is a breaking change due to the parent field having schema_config_mode_attr. I planned on testing the effect of removing schema_config_mode_attr as part of 6.0, but have not gotten to it yet. With Assuming |
Removing
If the user is attempting to use the current recommended method of specifying an empty block in order to remove secondary ip ranges from their config. (This being the workaround Riley mentions in hashicorp/terraform-provider-google#12824 ) If we're no longer concerned about maintaining 0.12 -> 0.13 forwards compatibility in the 6.0 version of the provider, could we remove |
@trodge @c2thorn I can try some variations here and write some tests/examples with |
I plan to get to testing other fields this week, but if you have time to start with this field, that would be helpful. With removing |
We have a test already that removes secondary ip ranges using |
@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 8 weeks. Please take a look! Use the label |
Just updating that I'm getting to this now and should hopefully have an update tomorrow on the effect of removing |
After looking into this, this PR can be merged without removing I plan to remove So once that's done this should not be a breaking change, but it does need to go into the 6.0 branch. |
Ah great news @c2thorn. I do see the VCR test is still failing, anything we need to do for that? |
yes it looks like the error for
|
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.
This should fix the test error @c2thorn mentioned.
Co-authored-by: Thomas Rodgers <[email protected]>
Applied the suggestions! |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 981 Click here to see the affected service packages
View the build log |
cb56491
into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-6.0.0
Fixes: hashicorp/terraform-provider-google#17881
Second attempt, superseding: #10507
Release Note Template for Downstream PRs (will be copied)