Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flaconi/terraform-onepassword-item-store

Allow to store items (password,logins) in 1password
https://github.com/flaconi/terraform-onepassword-item-store

flaconi-lite onepassword terraform terraform-module

Last synced: about 4 hours ago
JSON representation

Allow to store items (password,logins) in 1password

Awesome Lists containing this project

README

        

# terraform-onepassword-item-store

Module to store secrets in one password vaults

[![lint](https://github.com/flaconi/terraform-onepassword-item-store/workflows/lint/badge.svg)](https://github.com/flaconi/terraform-onepassword-item-store/actions?query=workflow%3Alint)
[![test](https://github.com/flaconi/terraform-onepassword-item-store/workflows/test/badge.svg)](https://github.com/flaconi/terraform-onepassword-item-store/actions?query=workflow%3Atest)
[![Tag](https://img.shields.io/github/tag/flaconi/terraform-onepassword-item-store.svg)](https://github.com/flaconi/terraform-onepassword-item-store/releases)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)

For requirements regarding module structure: [style-guide-terraform.md](https://github.com/Flaconi/devops-docs/blob/master/doc/conventions/style-guide-terraform.md)

## Providers

| Name | Version |
|------|---------|
| [onepassword](#provider\_onepassword) | >= 2.1.0 |

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.5 |
| [onepassword](#requirement\_onepassword) | >= 2.1.0 |

## Required Inputs

The following input variables are required:

### [vault\_id](#input\_vault\_id)

Description: id of the vault where the items are stored

Type: `string`

## Optional Inputs

The following input variables are optional (have default values):

### [items](#input\_items)

Description: A list of dicts with secret information

Type:

```hcl
list(object({
category = optional(string, "login")
name = string
username = string
password = optional(string)
url = optional(string)
tags = optional(list(string), [])
sections = optional(map(list(object({
label = string
type = optional(string)
value = optional(string)
}))), {})
}))
```

Default: `[]`

### [tags\_all](#input\_tags\_all)

Description: Tags applied to all the resources

Type: `list(string)`

Default: `[]`

## Outputs

No outputs.

## License

**[MIT License](LICENSE)**

Copyright (c) 2024 **[Flaconi GmbH](https://github.com/flaconi)**