-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix Datastream private connection resource destruction #11394
Fix Datastream private connection resource destruction #11394
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @ScottSuarez, 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are your routes not managed through terraform?
I can see why this behavior might be needed but if everything is within terraform this should be a non-issue.
We could potentially make this opt in but let me understand your usecase before I suggest anything.
@ScottSuarez More details in hashicorp/terraform-provider-google#17290 but the gist is: The following supporting resources are not managed or created explicitly by Terraform when instantiating a
From what I can tell, the Datastream API takes it upon itself to manage the lifecycle of these resources on your behalf and doesn't expect (or possibly want) the end user to have created these resources beforehand. |
Tests analyticsTotal tests: 12 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
|
|
…atform#11394) Co-authored-by: Sagi Yosefia <sagiy@google.com>
…atform#11394) Co-authored-by: Sagi Yosefia <sagiy@google.com>
Fix Datastream private connection resource destruction. The current private connection resource deletion fails as a result of sub resource existence.
This fix will always force the resource deletion, as the sub resources deletion is taking care the the API anyway.
Fixes hashicorp/terraform-provider-google#17290
hashicorp/terraform-provider-google#13054