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
@herda05 Hi. The problem is that you used a beta version. As per semantic versioniong, the beta version is considered less than prod version aka v2.23.0-beta01 < v2.23.0. The provider is required to use version >=v2.23.0.
So, to use it, either install cli v2.23.0 or the next stable v2.24.0.
Anyway, it's a good call out that it should work with beta versions. Here is an issue to address it. #148
Thank you!
Your environment
Terraform Provider Version: 1.4.1
Connect Server Version: n/a
CLI Version: 2.23.0-beta.01
OS: MacOS Ventura 13.4.1
Terraform Version: 1.6.4
What happened?
run a terraform plan and recieve the following error:
Error: failed to get version of op CLI: Version segment starts with 0 (input is: 2.23.0-beta.01)
What did you expect to happen?
The main.tf:
provider "onepassword" {
account = XXXXXXXXXXXXXXXXXXXXXX
op_cli_path = "/usr/local/bin/op"
}
data "onepassword_item" "ans_pub_key" {
vault = XXXXXXXXXXXXXXXXXX
title = "ansadmin_dev_key"
}
output "one_pass" {
value = data.onepassword_item.ans_pub_key
}
Steps to reproduce
Notes & Logs
I can run the op command just fine. I needed to upgrade the op client to get the terraform plugin.
The text was updated successfully, but these errors were encountered: