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

1.2.0 use of sections does not work #96

Closed
ralphkootker opened this issue Jul 18, 2023 · 6 comments · Fixed by #100
Closed

1.2.0 use of sections does not work #96

ralphkootker opened this issue Jul 18, 2023 · 6 comments · Fixed by #100
Labels
bug Something isn't working

Comments

@ralphkootker
Copy link

ralphkootker commented Jul 18, 2023

When using version 1.2.0 the usage of sections stopped working as expected compared to version 1.1.2 till 1.1.4:

`
resource "onepassword_item" "workspace_details" {
vault = var.vault_uuid

title = var.name
category = "login" # Only supports login, database of notes

password = var.token
#username = "not-required"

section {
label = "Workspace"
field {
label = "workspace_id"
type = "STRING"
value = var.workspace_id
}
field {
label = "workspace_url"
type = "STRING"
value = var.workspace_url
}
}
}
`

@ralphkootker ralphkootker added the bug Something isn't working label Jul 18, 2023
@buginventor
Copy link

Maybe this info will help with investigation.
In the state there is no id for field and that's why it's not showing in GUI (app) nor UI (web).
it looks like:

user@blabla dir % terraform state show onepassword_item.some_configuration
# onepassword_item.some_configuration:
resource "onepassword_item" "some_configuration" {
    category = "password"
    id       = "vaults/xxx/items/yyy"
    password = (sensitive value)
    tags     = [
        "some",
        "tags",
    ]
    title    = "Something xxx"
    uuid     = "xxx"
    vault    = "xxx"

    section {
        id    = "1-2-2-3-4"
        label = "Label x"

        field {
            id      = ""
            label   = "XML"
            type    = "CONCEALED"
            value   = (sensitive value)
        }
    }
}


@gogetdane
Copy link

+1 this. We've downgraded to 1.1.4. Terraform reports resources as existing, yet in the UI and CLI resources do not contain sections.

If I add a new section in TF, the apply output shows the expected sections although none exist on the item in 1P. We've pinned to 1.1.4, tainted affected resources and recreated.

@col
Copy link

col commented Aug 24, 2023

We're having the same issue. This is a pretty significant bug! I'm disappointed this is not getting more attention. 😞

@JBG-brad
Copy link

JBG-brad commented Oct 8, 2023

With the time gap between releases and the lack of attention to major bugs I'm curious if the 1Password has abandoned this project.

@volodymyrZotov
Copy link
Collaborator

Hi @JBG-brad. This one is currently on our radar and we'll try to address it as soon as possible. I understand how frustrating it is. Sorry for the delay.

@edif2008
Copy link
Member

FIx pushed with the 1.2.1 release.

@github-actions github-actions bot mentioned this issue Nov 29, 2023
2 tasks
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.

7 participants