Skip to main content
April 25, 2024
Question

1password terraform provider documentation error

  • April 25, 2024
  • 1 reply
  • 202 views

Hello.

Not quite sure where to report this, but the documentation for the 1password terraform provider at https://developer.1password.com/docs/ci-cd/terraform has a pretty confusing typo in it.

It consistently says to set an environment variable called "OP_SERVICE_TOKEN", but according to other sources (e.g. the documentation on the terraform site and the source code) it should be "OP_SERVICE_ACCOUNT_TOKEN" - see:

  • https://registry.terraform.io/providers/1Password/onepassword/latest/docs#OP_SERVICE_ACCOUNT_TOKEN

  • https://github.com/1Password/terraform-provider-onepassword/blob/73c40967f352d151bf7afc5698c2f62bfdcc8128/onepassword/provider.go#L56

I spent quite a lot of time trying to work out why it wasn't working until I looked at the source code :-S.

Cheers,

M


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

1 reply

michael_c_1P
1Password Employee
May 7, 2024

Hi there,

Thanks for catching this! I've filed a ticket with our tech writers to get this updated.