Skip to content

Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER - #8571

Merged
melinath merged 8 commits into
GoogleCloudPlatform:mainfrom
jlporter:subnet-purpose
Aug 11, 2023
Merged

Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER#8571
melinath merged 8 commits into
GoogleCloudPlatform:mainfrom
jlporter:subnet-purpose

Conversation

@jlporter

@jlporter jlporter commented Aug 7, 2023

Copy link
Copy Markdown
Contributor

Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Generated Terraform providers, and ran make test and make lint in the generated providers to ensure it passes unit and linter tests.
  • Ran relevant acceptance tests using my own Google Cloud project and credentials (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read Write release notes before writing my release note below.

Release Note Template for Downstream PRs (will be copied)


…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.
@modular-magician

Copy link
Copy Markdown
Collaborator

Hello! I am a robot. It looks like you are a community contributor. @melinath, 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.

@modular-magician modular-magician added awaiting-approval Pull requests that need reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Aug 7, 2023
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 4 files changed, 18 insertions(+), 17 deletions(-))
Terraform Beta: Diff ( 6 files changed, 21 insertions(+), 20 deletions(-))
TF OiCS: Diff ( 3 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2935
Passed tests 2630
Skipped tests: 302
Affected tests: 3

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccComputeSubnetwork_subnetworkInternalL7lbExample|TestAccComputeForwardingRule_forwardingRuleHttpLbExample|TestAccComputeForwardingRule_internalHttpLbWithMigBackendExample

Get to know how VCR tests work

@modular-magician

Copy link
Copy Markdown
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccComputeSubnetwork_subnetworkInternalL7lbExample[Debug log]
TestAccComputeForwardingRule_forwardingRuleHttpLbExample[Debug log]
TestAccComputeForwardingRule_internalHttpLbWithMigBackendExample[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}
View the build log or the debug log for each test

@melinath melinath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall - Looks like the tests work. Some docs suggestions below.

If INTERNAL_HTTPS_LOAD_BALANCER is deprecated and there's a new better way to do the same thing, we can just go ahead and remove it from the docs - since this is a String field, existing configurations will continue to work.

Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
jlporter and others added 4 commits August 9, 2023 10:00
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
jlporter and others added 2 commits August 9, 2023 10:01
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 4 files changed, 15 insertions(+), 16 deletions(-))
Terraform Beta: Diff ( 6 files changed, 18 insertions(+), 19 deletions(-))
TF OiCS: Diff ( 3 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2939
Passed tests 2637
Skipped tests: 302
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@melinath melinath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you opted to remove INTERNAL_HTTPS_LOAD_BALANCER it would be great to remove it entirely. It looks like there's two more references to INTERNAL_HTTPS_LOAD_BALANCER in this file; one is on a line I can't comment on:

subnetwork is `INTERNAL_HTTPS_LOAD_BALANCER` or `REGIONAL_MANAGED_PROXY` or `GLOBAL_MANAGED_PROXY`
It's a bit odd since the API docs for logConfig don't list this constraint: https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks not sure what the right fix is.

Comment thread mmv1/products/compute/Subnetwork.yaml Outdated
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 4 files changed, 24 insertions(+), 25 deletions(-))
Terraform Beta: Diff ( 6 files changed, 27 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 3 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2939
Passed tests 2637
Skipped tests: 302
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@melinath melinath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@melinath
melinath merged commit 36758cb into GoogleCloudPlatform:main Aug 11, 2023
SamGerber pushed a commit to SamGerber/magic-modules that referenced this pull request Aug 14, 2023
…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER (GoogleCloudPlatform#8571)

* Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Remove remaining references to INTERNAL_HTTPS_LOAD_BALANCER.

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
DanielRieske pushed a commit to DanielRieske/magic-modules that referenced this pull request Aug 15, 2023
…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER (GoogleCloudPlatform#8571)

* Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Remove remaining references to INTERNAL_HTTPS_LOAD_BALANCER.

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
nevzheng pushed a commit to nevzheng/magic-modules that referenced this pull request Aug 16, 2023
…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER (GoogleCloudPlatform#8571)

* Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Remove remaining references to INTERNAL_HTTPS_LOAD_BALANCER.

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
rainshen49 pushed a commit to rainshen49/magic-modules that referenced this pull request Aug 21, 2023
…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER (GoogleCloudPlatform#8571)

* Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Remove remaining references to INTERNAL_HTTPS_LOAD_BALANCER.

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
joelkattapuram pushed a commit to joelkattapuram/magic-modules that referenced this pull request Sep 20, 2023
…Y instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER (GoogleCloudPlatform#8571)

* Update subnetwork descriptions and tests to use REGIONAL_MANAGED_PROXY instead of deprecated INTERNAL_HTTPS_LOAD_BALANCER.

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Update mmv1/products/compute/Subnetwork.yaml

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>

* Remove remaining references to INTERNAL_HTTPS_LOAD_BALANCER.

---------

Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants