magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

Support prodcuer port in network endpoint group

Open ericlin0101 opened this issue 1 year ago • 8 comments

Release Note Template for Downstream PRs (will be copied)

compute: added the `psc_data` field to the `google_compute_region_network_endpoint_group` resource

ericlin0101 avatar Sep 25 '24 20:09 ericlin0101

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@SarahFrench, 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.

github-actions[bot] avatar Sep 25 '24 20:09 github-actions[bot]

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.

google provider: Diff ( 3 files changed, 35 insertions(+), 4 deletions(-)) google-beta provider: Diff ( 3 files changed, 35 insertions(+), 4 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 10 insertions(+)) Open in Cloud Shell: Diff ( 1 file changed, 4 insertions(+), 2 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_compute_region_network_endpoint_group (22 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_compute_region_network_endpoint_group" "primary" {
  psc_data = # value needed
}


modular-magician avatar Sep 25 '24 23:09 modular-magician

Tests analytics

Total tests: 1015 Passed tests: 940 Skipped tests: 74 Affected tests: 1

Click here to see the affected service packages
  • compute

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupPscServiceAttachmentExample

Get to know how VCR tests work

modular-magician avatar Sep 26 '24 00:09 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupPscServiceAttachmentExample[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

modular-magician avatar Sep 26 '24 00:09 modular-magician

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.

google provider: Diff ( 3 files changed, 100 insertions(+), 13 deletions(-)) google-beta provider: Diff ( 3 files changed, 100 insertions(+), 13 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 29 insertions(+)) Open in Cloud Shell: Diff ( 1 file changed, 4 insertions(+), 2 deletions(-))

modular-magician avatar Sep 26 '24 15:09 modular-magician

Tests analytics

Total tests: 1015 Passed tests: 940 Skipped tests: 74 Affected tests: 1

Click here to see the affected service packages
  • compute

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupPscServiceAttachmentExample

Get to know how VCR tests work

modular-magician avatar Sep 26 '24 15:09 modular-magician

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

$\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

modular-magician avatar Sep 26 '24 15:09 modular-magician

@ericlin0101, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days.

Please address any comments or change requests, or re-request review from a core reviewer if no action is required.

Image showing the re-request review button

This notification can be disabled with the disable-automatic-closure label.

github-actions[bot] avatar Oct 11 '24 09:10 github-actions[bot]

@ericlin0101, this PR is waiting for action from you. If no action is taken, this PR will be closed in 14 days.

Please address any comments or change requests, or re-request review from a core reviewer if no action is required.

Image showing the re-request review button

This notification can be disabled with the disable-automatic-closure label.

github-actions[bot] avatar Oct 25 '24 09:10 github-actions[bot]

@SarahFrench, I believe this is ready to merge. Please proceed with the merge at your convenience. Thank you!

ericlin0101 avatar Nov 20 '24 21:11 ericlin0101

/gcbrun

SarahFrench avatar Nov 21 '24 11:11 SarahFrench

Just realised I hadn't approved the build - I'll let that complete before merging

SarahFrench avatar Nov 22 '24 17:11 SarahFrench

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.

google provider: Diff ( 3 files changed, 99 insertions(+), 12 deletions(-)) google-beta provider: Diff ( 3 files changed, 100 insertions(+), 13 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 29 insertions(+)) Open in Cloud Shell: Diff ( 1 file changed, 4 insertions(+), 2 deletions(-))

modular-magician avatar Nov 22 '24 17:11 modular-magician

Tests analytics

Total tests: 1064 Passed tests: 990 Skipped tests: 73 Affected tests: 1

Click here to see the affected service packages
  • compute

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy

Get to know how VCR tests work

modular-magician avatar Nov 22 '24 17:11 modular-magician

🔴 Tests failed during RECORDING mode: TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

modular-magician avatar Nov 22 '24 18:11 modular-magician

That test is failing on multiple PRs and isn't specific to this PR. Reported that here: https://github.com/hashicorp/terraform-provider-google/issues/17838#issuecomment-2494512276

Approving & merging!

SarahFrench avatar Nov 22 '24 18:11 SarahFrench

@SarahFrench, Thank you. We are all set.

ericlin0101 avatar Nov 22 '24 19:11 ericlin0101

After switching to 6.13.0 I started to get constant recreation of my NEGs. I tried to recreate them once with 6.13.0 version but it keeps showing the "recreate" action on new plans. There was no code changes on my side and I also didn't add psc_data field since it's optional and I don't need it. I had to stick to 6.12.0 version to get this issue disappear. Is this a bug of the optional psc_data field?

image

RomanPavelkoMGM avatar Dec 10 '24 02:12 RomanPavelkoMGM

Hi @RomanPavelkoMGM - comments on closed PRs will not go through our triage process. Please open an issue referencing this PR if you're having a problem. Thanks!

SarahFrench avatar Dec 10 '24 10:12 SarahFrench