Your environment
Terraform 1P Provider Version: 3.3.1
Authenticated using Connect: Using Connect server credentials (connect_url + connect_token)
OS: Linux (Ubuntu)
Terraform Version: v1.15.5
What happened?
Provider is not able to configure a 1P item with an empty password
What did you expect to happen?
Provider configures a 1P item with an empty password
Steps to reproduce
main.tf:
provider "onepassword" {}
data "onepassword_vault" "deploy" {
name = "deploy"
}
resource "onepassword_item" "database_credentials" {
vault = data.onepassword_vault.deploy.uuid
title = "db_creds"
category = "database"
type = "postgresql"
hostname = "hostname"
port = "5432"
database = "db"
username = "username"
password = ""
note_value = "IAM user, use an auth token as password."
}
Notes & Logs
terraform apply logs:
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to onepassword_item.database_credentials, provider
│ "provider[\"registry.terraform.io/1password/onepassword\"]" produced an
│ unexpected new value: .password: inconsistent values for sensitive
│ attribute.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
Error: Process completed with exit code 1.
Your environment
Terraform 1P Provider Version: 3.3.1
Authenticated using Connect: Using Connect server credentials (connect_url + connect_token)
OS: Linux (Ubuntu)
Terraform Version: v1.15.5
What happened?
Provider is not able to configure a 1P item with an empty password
What did you expect to happen?
Provider configures a 1P item with an empty password
Steps to reproduce
main.tf:
Notes & Logs
terraform applylogs: