Fix Issue 24367: The provider hashicorp/google does not support resource type "google_project_service_identity"#15205
Conversation
Old test was causing errors, since `google_project_service_identity` is a beta resource. I fixed this issue by creating a separate test for testing the `encryption_spec` (privateca_capool_cmek) and reverting privateca_capool_all_fields to its previous version.
|
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.
|
|
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: 44 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Tests analyticsTotal tests: 44 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
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: 44 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @rileykarson, 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. |
|
@roaks3 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@modular-magician reassign-reviewer |
Modified the existing test to use a mix of a beta-only resources and ga resources. Removed the separate skipped test I made in a previous commit, since it's no longer necessary.
|
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: 44 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Need to add beta provider to all resources in a test with a beta-only resource.
|
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: 44 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
Unit test error seems to occur because it runs terraform init with a provider development override, which is known to cause errors. Command: Warning: Assuming this error can be ignored, as I can't seem to be able to rerun the test. |
rileykarson
left a comment
There was a problem hiding this comment.
LGTM, thanks!
Not sure why the test can't run locally- you shouldn't need overrides for acceptance tests, they build and run a provider directly from the codebase
|
TGC issue is unrelated |
fc9b937
…rce type "google_project_service_identity" (GoogleCloudPlatform#15205)
…rce type "google_project_service_identity" (GoogleCloudPlatform#15205)
…rce type "google_project_service_identity" (GoogleCloudPlatform#15205)
…rce type "google_project_service_identity" (GoogleCloudPlatform#15205)
Old test was causing errors, since
google_project_service_identityis a beta resource, which wasn't taken into account. I fixed this issue by creating a separate test for testing theencryption_spec(privateca_capool_cmek) and reverting privateca_capool_all_fields to its previous version. The new test is now skipped, following the precedent set hereFixes hashicorp/terraform-provider-google#24367
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.