All Projects → MeilleursAgents → terraform-provider-ansiblevault

MeilleursAgents / terraform-provider-ansiblevault

Licence: MIT license
Read ansible vault from Terraform

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to terraform-provider-ansiblevault

terraform-provider-nexus
Terraform provider for Sonatype Nexus
Stars: ✭ 74 (+5.71%)
Mutual labels:  terraform-provider
terraform-provider-twilio
Terraform provider for Twilio. 🌎☎️ Preserved for archaeological fun. Please see the official Twilio TF provider @ https://github.com/twilio/terraform-provider-twilio.
Stars: ✭ 32 (-54.29%)
Mutual labels:  terraform-provider
terraform-provider-dnsimple
Terraform DNSimple provider
Stars: ✭ 15 (-78.57%)
Mutual labels:  terraform-provider
terraform-provider-kite
Terraform provider for managing long term portfolio with Zerodha Kite
Stars: ✭ 21 (-70%)
Mutual labels:  terraform-provider
terraform-provider-bitbucketserver
Terraform provider for Bitbucket Server Management
Stars: ✭ 26 (-62.86%)
Mutual labels:  terraform-provider
terraform-provider-spacelift
Terraform provider to interact with Spacelift
Stars: ✭ 26 (-62.86%)
Mutual labels:  terraform-provider
terraform-provider-signalfx
Terraform SignalFx provider
Stars: ✭ 26 (-62.86%)
Mutual labels:  terraform-provider
terraform-provider-ncloud
Terraform NaverCloud provider
Stars: ✭ 25 (-64.29%)
Mutual labels:  terraform-provider
terraform-provider-checkly
Terraform provider for the Checkly monitoring service
Stars: ✭ 37 (-47.14%)
Mutual labels:  terraform-provider
atom-ansible-vault
Atom package to create and modify ansible-vault file
Stars: ✭ 31 (-55.71%)
Mutual labels:  ansible-vault
terraform-provider-sumologic
Terraform provider for Sumo Logic
Stars: ✭ 24 (-65.71%)
Mutual labels:  terraform-provider
terraform-aws-kinesis-firehose
This code creates a Kinesis Firehose in AWS to send CloudWatch log data to S3.
Stars: ✭ 25 (-64.29%)
Mutual labels:  terraform-provider
terraform-provider-astra
A project that allows DataStax Astra users to manage their full database lifecycle for Astra Serverless databases (built on Apache Cassandra(TM)) using Terraform
Stars: ✭ 16 (-77.14%)
Mutual labels:  terraform-provider
terraform-provider-qingcloud
Terraform QingCloud Provider
Stars: ✭ 34 (-51.43%)
Mutual labels:  terraform-provider
terraform-provider-jumpcloud
A Terraform provider for JumpCloud
Stars: ✭ 17 (-75.71%)
Mutual labels:  terraform-provider
terraform-provider-ignition
Terraform Ignition provider
Stars: ✭ 37 (-47.14%)
Mutual labels:  terraform-provider
terraform-provider-nix
terraform provider that manages nix builds and nixos machines.
Stars: ✭ 105 (+50%)
Mutual labels:  terraform-provider
terraform-provider-ddcloud
Terraform provider for Dimension Data cloud compute.
Stars: ✭ 17 (-75.71%)
Mutual labels:  terraform-provider
terraform-provider-vmc
Terraform provider for VMware Cloud on AWS
Stars: ✭ 16 (-77.14%)
Mutual labels:  terraform-provider
nanvault
A standalone CLI tool to encrypt and decrypt files in the Ansible Vault format
Stars: ✭ 33 (-52.86%)
Mutual labels:  ansible-vault

terraform-provider-ansiblevault

Build Status codecov Go Report Card

This Terraform provider allows you to access secrets from an Ansible Vault from Terraform.

Made with ❤️ by MeilleursAgents

Thanks

Thanks to ansible-vault-go repository for having done the hardest part.

Installation

Terraform 0.13

This provider is available in terraform registry.

For local development follow https://www.terraform.io/docs/commands/cli-config.html#implied-local-mirror-directories

Terrform 0.12

curl https://raw.githubusercontent.com/MeilleursAgents/terraform-provider-ansiblevault/master/install.sh | bash

Usage

ansiblevault_path example:


provider "ansiblevault" {
  vault_path  = "/home/username/.vault_pass.txt"
  root_folder = "/home/username/infra/ansible/"
}

data "ansiblevault_path" "api_key" {
  path = "./passwords.yml"
  key = "USER_PASSWORD"
}

${data.ansiblevault_path.api_key.value} will contain value of `USER_PASSWORD` stored in "/home/username/infra/ansible/passwords.yml"

More examples in : examples/terraform/

Using the provider

Master

Latest version

Contribution

You have to enable Go modules for compiling this project.

Git hooks are availables for avoiding mistakes and ensure code quality, you can install them with:

make config

Build and Deploy

You need a Github OAuth Token for doing a GitHub release and goreleaser

make github

License

This project is licensed under the MIT license (see LICENSE file).

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].