Add onepassword_item_share Resource Type#205
Conversation
|
Hi @joraff , thank you for the contribution! 🙌 I'm thinking about how to fit item sharing into the idempotent design of Terraform, and how it will work with state drift. I believe the current use cases and interface design for item sharing are designed around sharing as a point in time action, and I anticipate challenges when treating it as a resource. For example:
I'm curious to learn more about your use case for using item sharing with Terraform. For example, when and how do the share links leave Terraform (e.g. is that also a point in time action or could/should it re-occur on changes)? And about your expectations and perspective on how to reconcile the point-in-time nature of item sharing with how it'll work in Terraform? I'll also reach out here internally at 1Password to the team who owns and build the item sharing functionality to get their perspective too. Thanks again for the contribution! 💙 And I'm looking forward to figuring out together if we can make this fit and if so how. |
This PR adds item sharing as a managed resource!
Sharing an item is only supported by the 1Password CLI, and therefore, only by service and user accounts. Attempting to create this resource when using 1Password Connect Server will result in an error.