-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Don't attempt to delete default users on replica #360
Don't attempt to delete default users on replica #360
Conversation
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.
Did this have any tests that failed before the change? If not, can we concoct a case that fails without the change?
It did not. I was going to write a test but thought that the additional test might not be worth it since it's a failure situation that users shouldn't run into anymore (and each test has a cost, after all; in this case it's in the minutes). However I think there's something to be said about someone who wants their own |
I added a test ensuring we don't delete a root user found on the replica. It currently fails on master and passes on this branch. The test itself is not great to read; would love input on how to make this more readable using the |
9fe2e50
to
fe57b25
Compare
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.
LGTM!
This was merged into master 12 days ago, but terraform-provider-google hasn't had a release since 1.3 on 8/17/2017: Now that Terraform is modular, we have to wait for the module to get its own release. Any idea when there will be a new release for terraform-provider-google? |
I agree @ryan-mf; we're focusing on that now (we are working on making our underlying test suite happy). Should be very soon... |
* Don't attempt to delete default users on replica * Test that we don't attempt to delete root user on replica
Signed-off-by: Modular Magician <[email protected]>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Fixes #347