Closed edif2008 closed 1 week ago
I tested this PR and provider did not crash anymore. But I'm having issues with inconsistent results (they vary on different results) AND defining vault (tried name, id, uuid).
Hey @back-2-95! 👋🏻
It sounds like this PR addressed the issue of the provider crashing, which is its purpose. What you're describing seems to be something else that might be better suited for a separate issue. Would you be kind to open a new issue with the following details?
That would be much appreciated. 😄
Yes, I think those other issues are already mentioned in some other issues by others.
✅ Tested this and confirmed that the provider doesn't crash anymore.
Summary
We add to diagnostics the error returned when the 1Password client fails to create an item. However, we weren't stopping the process, which caused the provider to try to add the "failed" created item in the state which led to a crash of the provider.
Relates: #174
How to test
.terraform.rc
on macOS/Linux orterraform.rc
on Windows contains this:Create a
main.tf
file with this content:terraform apply