Skip to content

Add edit history to onepassword_item #237

@zxaos

Description

@zxaos

Summary

Include last edit date in the onepassword_item resource and data source

Use cases

When trying to synchronize 1password with other systems using terraform, it can be useful to use write-only values to keep secrets out of the terraform state.

However, this means that terraform no longer has a direct way of knowing if the value has changed. Supporting a last edit date attribute on an item would let us work around that issue by triggering updates based on changes to the edit date of the item.

Proposed solution

add last_modified as an item field. The last modified date is already show in the 1password UI

Is there a workaround to accomplish this today?

I suppose you could maybe do something with null resources and a hash of the item contents?

References & Prior Work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions