https://github.com/chayim/vaulties
Wrapper scripts to make terraform and vagrant a bit more integrated
https://github.com/chayim/vaulties
wrapper-script
Last synced: 11 months ago
JSON representation
Wrapper scripts to make terraform and vagrant a bit more integrated
- Host: GitHub
- URL: https://github.com/chayim/vaulties
- Owner: chayim
- License: mit
- Created: 2020-07-28T13:35:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T23:34:43.000Z (about 3 years ago)
- Last Synced: 2024-10-19T19:48:58.946Z (over 1 year ago)
- Topics: wrapper-script
- Language: Python
- Homepage: https://c.kirshen.com
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vaulties
This repository contains a wrapper script for [terraform](https://www.terraform.io/), making it easy to inject variables into a terraform run from an [ansible vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html). Ditto a vagrant wrapper, making it easier to drive vagrant and terraform from a single encrypted source.
## Tooling
I follow standard python practices:
* [pyenv](https://github.com/pyenv/pyenv) is used to manage the python version
* Given the single package requirement, *pip install -r requirements.txt* is your friend, but first create a dedicated virtualenv.
## Examples
* VAULTFILE=/path/to/file VAULTPASS=yourvaultpassword python terrarist.py -a plan -x
* VAULTFILE=/path/to/file VAULTPASS=yourvaultpassword python terrarist.py -a apply