Open sdahlbac opened 6 months ago
Can confirm, we are using an "api_credential" entry created via Ansible and with the 2.0 change the url field is just gone from terraform.
Before we could easily access it via data.onepassword_item.itemname.url
I think the item category database is broken completely. when i request an item of this category ALL values are null:
{
"category": "database",
"database": null,
"hostname": null,
"id": "vaults/dumtbu..../items/hrrdbd....",
"note_value": "",
"password": null,
"port": null,
"section": [],
"tags": null,
"title": "DatenbaseItem",
"type": null,
"url": null,
"username": null,
"uuid": "hrrdbd....",
"vault": "dumtbu...."
}
Ok, for me it is just a localization issue. 1Password uses different field names in the desktop and web client when your language is not english. Those don't properly map with the terraform provider.
Your environment
Terraform Provider Version: version = "2.0.0"
Connect Server Version: n/a
CLI Version: 2.28.0
OS: osx
Terraform Version:
What happened?
The above worked fine using
version = "1.4.3"
but after upgrading to 2.0.0 this is the relevant bits of tfplan json
What did you expect to happen?
Data should not randomly disappear
Steps to reproduce
Notes & Logs