You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
I propose to add a state parameter, that can have the present or new value. When the state is new, a new version will always be written, even if the value would not change. The present state will be default and will only write when that would change the value of the latest version of the secret.
This is useful when you read specific secret versions from the playbook.
Change request
Current behavior
When running a playbook with a
secrethub_write
several times,each time a new version of the secret is written.
Expected behavior
When running a playbook with a
secrethub_write
several times,only the first time a new version of the secret is written.
Proposal
Before writing the secret, the secret should be read. When the current
value is the same as the target value, the write is not performed.
The module will reflect in its return whether it has changed the secret
value.
The text was updated successfully, but these errors were encountered: