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
It appears the resource is storing the vault uuid in the state file but needs help to handle the fact that the vault title is being passed in. Also, I'd like to point out a side effect on tags as it's being set to NULL, even though there were no changes.
When one specifies the vault uuid instead of the title, the item is updated due to the password mismatch, even though the password never changed. This only happens on the first apply after changing the vault to be a uuid. Subsequent apply calls behave as expected. Also note that the tags value are maintained.
Your environment
Terraform Provider Version:
1.4.0
Connect Server Version:
N/A
CLI Version:
2.24.0
OS:
macOS 14.2.1 (23C71)
Terraform Version:
What happened?
On every
apply
, the item was destroyed and created, even though there were no changes to the item.What did you expect to happen?
Once the item was created and there were no changes, the Terraform provider should not do anything whenever terraform apply is executed.
Steps to reproduce
Consider the following Terraform snippet
I ran the following commands:
Notes & Logs
Outputs (vaultuuid and itemuuid was replaced)
It appears the resource is storing the vault uuid in the state file but needs help to handle the fact that the vault title is being passed in. Also, I'd like to point out a side effect on tags as it's being set to NULL, even though there were no changes.
When one specifies the vault uuid instead of the title, the item is updated due to the
password
mismatch, even though the password never changed. This only happens on the firstapply
after changing the vault to be a uuid. Subsequentapply
calls behave as expected. Also note that thetags
value are maintained.The item's destruction is a problem since it results in data loss.
The text was updated successfully, but these errors were encountered: