README ¶ terraform-provider-op Terraform provider for 1Password CLI. Preparation Install 1Password CLI. see https://developer.1password.com/docs/cli/get-started/ Usage terraform { required_providers { op = { source = "winebarrel/op" } } } provider "op" { # command = "/usr/local/bin/op" } data "op_item" "yahoo" { # id = "xxx..." title = "yahoo" } output "yahoo_username" { value = data.op_item.yahoo.username } output "yahoo_password" { value = data.op_item.yahoo.password sensitive = true } Run locally for development cp op.tf.sample op.tf make tf-plan Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis onepassword op Click to show internal directories. Click to hide internal directories.