Skip to content
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

Update Instance.yaml delete_url for Looker #11950

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

efeelaiho
Copy link
Contributor

Fixes hashicorp/terraform-provider-google#19467

Release Note Template for Downstream PRs (will be copied)

looker: fixed nested resource bug preventing deletion

@github-actions github-actions bot requested a review from shuyama1 October 8, 2024 23:28
Copy link

github-actions bot commented Oct 8, 2024

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

@shuyama1, 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
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 ( 1 file changed, 1 insertion(+), 1 deletion(-))
google-beta provider: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 7
Passed tests: 0
Skipped tests: 0
Affected tests: 7

Click here to see the affected service packages
  • looker

Action taken

Found 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccLookerInstance_lookerInstanceBasicExample
  • TestAccLookerInstance_lookerInstanceCustomDomainExample
  • TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample
  • TestAccLookerInstance_lookerInstanceFipsExample
  • TestAccLookerInstance_lookerInstanceFullExample
  • TestAccLookerInstance_lookerInstancePscExample
  • TestAccLookerInstance_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Debug log]
TestAccLookerInstance_lookerInstanceCustomDomainExample[Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Debug log]
TestAccLookerInstance_lookerInstancePscExample[Debug log]
TestAccLookerInstance_update[Debug log]
🔴 Tests failed when rerunning REPLAYING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Error message] [Debug log]

Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made.

Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.


🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceFullExample[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

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

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

We'll likely need to hide this change behind a flag as changing resource default deletion behavior is a breaking change according https://googlecloudplatform.github.io/magic-modules/develop/breaking-changes/breaking-changes/#resource-level-breaking-changes and can't be made in a minor release. A similar example change: #6474

@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 ( 2 files changed, 24 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 2 files changed, 24 insertions(+), 1 deletion(-))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Several tests got terminated during RECORDING mode.
🔴 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
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 ( 2 files changed, 23 insertions(+))
google-beta provider: Diff ( 2 files changed, 23 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

1 similar comment
@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 ( 2 files changed, 23 insertions(+))
google-beta provider: Diff ( 2 files changed, 23 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

1 similar comment
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

@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 ( 2 files changed, 27 insertions(+))
google-beta provider: Diff ( 2 files changed, 27 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

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

🔴 Several tests got terminated during RECORDING mode.
🔴 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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[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
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 ( 2 files changed, 27 insertions(+))
google-beta provider: Diff ( 2 files changed, 27 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

@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 ( 2 files changed, 27 insertions(+))
google-beta provider: Diff ( 2 files changed, 27 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  force_delete = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 0
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • looker

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[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
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 ( 2 files changed, 29 insertions(+))
google-beta provider: Diff ( 2 files changed, 29 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  deletion_policy = # value needed
}

2 similar comments
@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 ( 2 files changed, 29 insertions(+))
google-beta provider: Diff ( 2 files changed, 29 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  deletion_policy = # value needed
}

@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 ( 2 files changed, 29 insertions(+))
google-beta provider: Diff ( 2 files changed, 29 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  deletion_policy = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 7
Passed tests: 1
Skipped tests: 0
Affected tests: 6

Click here to see the affected service packages
  • looker

Action taken

Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccLookerInstance_lookerInstanceBasicExample
  • TestAccLookerInstance_lookerInstanceCustomDomainExample
  • TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample
  • TestAccLookerInstance_lookerInstanceFipsExample
  • TestAccLookerInstance_lookerInstancePscExample
  • TestAccLookerInstance_update

Get to know how VCR tests work

2 similar comments
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 7
Passed tests: 1
Skipped tests: 0
Affected tests: 6

Click here to see the affected service packages
  • looker

Action taken

Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccLookerInstance_lookerInstanceBasicExample
  • TestAccLookerInstance_lookerInstanceCustomDomainExample
  • TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample
  • TestAccLookerInstance_lookerInstanceFipsExample
  • TestAccLookerInstance_lookerInstancePscExample
  • TestAccLookerInstance_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 7
Passed tests: 1
Skipped tests: 0
Affected tests: 6

Click here to see the affected service packages
  • looker

Action taken

Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccLookerInstance_lookerInstanceBasicExample
  • TestAccLookerInstance_lookerInstanceCustomDomainExample
  • TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample
  • TestAccLookerInstance_lookerInstanceFipsExample
  • TestAccLookerInstance_lookerInstancePscExample
  • TestAccLookerInstance_update

Get to know how VCR tests work

@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 ( 2 files changed, 29 insertions(+))
google-beta provider: Diff ( 2 files changed, 29 insertions(+))

Missing test report

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

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

resource "google_looker_instance" "primary" {
  deletion_policy = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 7
Passed tests: 1
Skipped tests: 0
Affected tests: 6

Click here to see the affected service packages
  • looker

Action taken

Found 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccLookerInstance_lookerInstanceBasicExample
  • TestAccLookerInstance_lookerInstanceCustomDomainExample
  • TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample
  • TestAccLookerInstance_lookerInstanceFipsExample
  • TestAccLookerInstance_lookerInstancePscExample
  • TestAccLookerInstance_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceCustomDomainExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstancePscExample[Error message] [Debug log]
TestAccLookerInstance_update[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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceCustomDomainExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstancePscExample[Error message] [Debug log]
TestAccLookerInstance_update[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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceCustomDomainExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstancePscExample[Error message] [Debug log]
TestAccLookerInstance_update[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
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccLookerInstance_lookerInstanceBasicExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceCustomDomainExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceEnterpriseFullTestExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstanceFipsExample[Error message] [Debug log]
TestAccLookerInstance_lookerInstancePscExample[Error message] [Debug log]
TestAccLookerInstance_update[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants