Skip to content

Terraform shouldn't error when we cannot find a secret by ID, as we may need to recreate a manually deleted secret #191

Open
@josh-thisisbud

Description

@josh-thisisbud

resp.Diagnostics.AddError("1Password Item read error", fmt.Sprintf("Could not get item '%s' from vault '%s', got error: %s", itemUUID, vaultUUID, err))

This line here shouldn't be bombing out during a terraform run, as it's entirely valid that the secret may have been deleted and we need to recreate it. I'd suggest turning this into a warning at most, so that people can learn that it happened from logging?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions