Skip to content

Add key_revocation_action_field to google_compute_instance and related resources #11920

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

Merged

Conversation

karolgorc
Copy link
Contributor

@karolgorc karolgorc commented Oct 4, 2024

reopen of #11741
Included all the change requests from the previous PR

  • Added the field to
    • google_compute_instance
    • google_compute_instance_from_template
    • google_compute_instance_from_machine_image
    • google_compute_instance_template
    • google_compute_region_instance_template
  • Added tests
  • Added data source support
  • Added doc changes

Release Note Template for Downstream PRs (will be copied)

compute: added `key_revocation_action_type` to `google_compute_instance` and related resources

c2thorn and others added 5 commits October 4, 2024 12:20
add region_instance_template
Add key_revocation_action_type field
…plate.html.markdown

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
…nce_template.html.markdown

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Copy link

github-actions bot commented Oct 4, 2024

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

@NickElliot, 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 github-actions bot requested a review from NickElliot October 4, 2024 10:26
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Oct 4, 2024
Copy link

github-actions bot commented Oct 9, 2024

@NickElliot This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

@modular-magician modular-magician added service/compute-instances and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Oct 10, 2024
@modular-magician
Copy link
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.

google provider: Diff ( 13 files changed, 283 insertions(+))
google-beta provider: Diff ( 13 files changed, 283 insertions(+))

Missing test report

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

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

resource "google_compute_instance_from_machine_image" "primary" {
  key_revocation_action_type = # value needed
}

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

resource "google_compute_instance_from_template" "primary" {
  key_revocation_action_type = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 1031
Passed tests: 954
Skipped tests: 74
Affected tests: 3

Click here to see the affected service packages
  • compute

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
  • TestAccComputeInstanceTemplate_keyRevocationActionType
  • TestAccComputeInstance_keyRevocationActionType
  • TestAccComputeRegionInstanceTemplate_keyRevocationActionType

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccComputeInstanceTemplate_keyRevocationActionType[Debug log]
TestAccComputeInstance_keyRevocationActionType[Debug log]
TestAccComputeRegionInstanceTemplate_keyRevocationActionType[Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

Copy link

@GoogleCloudPlatform/terraform-team @NickElliot This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

Copy link
Contributor

@NickElliot NickElliot left a comment

Choose a reason for hiding this comment

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

mostly LGTM, only seeing minor formatting updates needed!

karolgorc and others added 2 commits October 16, 2024 09:58
@github-actions github-actions bot requested a review from NickElliot October 16, 2024 07:59
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Oct 16, 2024
@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Oct 18, 2024
@modular-magician
Copy link
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.

google provider: Diff ( 13 files changed, 284 insertions(+))
google-beta provider: Diff ( 13 files changed, 284 insertions(+))

Missing test report

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

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

resource "google_compute_instance_from_machine_image" "primary" {
  key_revocation_action_type = # value needed
}

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

resource "google_compute_instance_from_template" "primary" {
  key_revocation_action_type = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 1039
Passed tests: 966
Skipped tests: 73
Affected tests: 0

Click here to see the affected service packages
  • compute

🟢 All tests passed!

View the build log

Copy link

@NickElliot This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

Copy link
Contributor

@NickElliot NickElliot left a comment

Choose a reason for hiding this comment

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

LGTM!

BBBmau pushed a commit that referenced this pull request Oct 28, 2024
…lated resources (#11920)

Co-authored-by: Cameron Thornton <[email protected]>
Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Co-authored-by: Nick Elliot <[email protected]>
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Nov 5, 2024
…lated resources (GoogleCloudPlatform#11920)

Co-authored-by: Cameron Thornton <[email protected]>
Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Co-authored-by: Nick Elliot <[email protected]>
akshat-jindal-nit pushed a commit to akshat-jindal-nit/magic-modules that referenced this pull request Nov 18, 2024
…lated resources (GoogleCloudPlatform#11920)

Co-authored-by: Cameron Thornton <[email protected]>
Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Co-authored-by: Nick Elliot <[email protected]>
amanMahendroo pushed a commit to amanMahendroo/magic-modules that referenced this pull request Dec 17, 2024
…lated resources (GoogleCloudPlatform#11920)

Co-authored-by: Cameron Thornton <[email protected]>
Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Co-authored-by: Nick Elliot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants