Open dannysauer opened 2 months ago
Hey @dannysauer! 👋🏻
What you might be experiencing when it comes to the provider saying the password being required is the bug at #173. This has been solved in the version 2.1.0
, which is also the latest version of the provider.
As for the second element that you've identified, that is indeed a bug. A quick mitigation for it is, as you've mentioned, changing the type to STRING
. Thank you for catching this. 😄
Oh, that's awesome! Sounds like I have a bug in the Renovate config which is supposed to be updating the 1password provider in my Terraform. :D
Confirmed that deleting the item and recreating without a password field works for me with the new provider. Though, I ran into #97 in the process, so had to delete the item from the state before recreating. ;)
Thanks, @edif2008. Should I open a new bug for the case sensitivity thing, or retitle this one?
To keep it clean and clear, I would recommend opening a new issue, since this one started off as not being able to create a Secure Note item without a password and in the process the additional bug was found.
Once you make that new issue, I will close this one.
Thank you again for your great cooperation and providing valuable feedback to further improve the Terraform provider. 😄
Your environment
Terraform Provider Version:
v2.0.0
Connect Server Version:
1.7.2
CLI Version:
2.30.0
OS:
Pop!_OS 22.04 LTS
Terraform Version:
What happened?
Attempting to create a secure note generated this error message:
Then when I added a password field, I got a second error:
What did you expect to happen?
I expected a secure note to be created without a password field, and I expected the provider to either internally translate the case of the type or to use an enum to validate acceptable type values.
I also sort of expected the "required" password field to appear in the created item, but there is no password field after it's created. I'm ok with that, though. ;)
Steps to reproduce
Notes & Logs
I suppose this is technically two separate bugs.