0.0
No commit activity in last 3 years
No release in over 3 years
Use AWS DynamoDB as a hiera backend
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

hiera-dynamodb

Gitlab Workflow

A hiera backend for an AWS DynamoDB table

To use this backend, add the following to your hiera.yaml

---
:hierarchy:
  - common
:backends:
  - yaml
  - dynamodb
:yaml:
  :datadir: '/puppet/hiera/'
:dynamodb:
  :access_key_id: xxxxxxxxxxxxxxxx
  :secret_access_key: XXXXXXXXXXXXXXXXX
  :region: 'eu-west-1'
  :table: 'your-table-name-here'

In your dynamoDB table, you will need to define the table with the primary key of "hiera_key" as a string. the values will be "hiera_value".

Future updates will support custom column names.

TODO

  • read credentials from a hidden file
  • support custom column names for key/value
  • re-write for hiera5
  • Tests!
  • make a gem to install via ruby gems

Enjoy!