terraform-provider-op

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 3 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL