Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform cannot create items with the password we provide in the code #128

Closed
Aiswarya-997 opened this issue Dec 20, 2023 · 0 comments · Fixed by #127
Closed

Terraform cannot create items with the password we provide in the code #128

Aiswarya-997 opened this issue Dec 20, 2023 · 0 comments · Fixed by #127
Labels
bug Something isn't working

Comments

@Aiswarya-997
Copy link

Your environment

Terraform Provider Version:1password provider version:1.3.1

Connect Server Version:No connect server.Service account token is used.

CLI Version:2.23.0

OS:Windows

Terraform Version:1.6.5

What happened?

I am trying to add new passwords into 1password. I want the items to have the password that I mention in the code through environment variables. But when I apply the terraform changes, a random password is created, which is not expected.

What did you expect to happen?

I want the password in the code to appear in 1password.

Steps to reproduce

  1. Create an item in 1password using terraform code: example snippet:

resource "onepassword_item" "secrets-1"{
vault = var.vault
title = "test"
category = "password"
password = "sdfyguihgfg"
}

2)When we do terraform apply, a different password is created other than the one mentioned in the code snippet.

Notes & Logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant