Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgreben/terrafile-ify
Generate Terrafiles and (optionally) re-write Terraform source to use vendored modules
https://github.com/sgreben/terrafile-ify
dependency-management terrafile terraform vendoring
Last synced: 10 days ago
JSON representation
Generate Terrafiles and (optionally) re-write Terraform source to use vendored modules
- Host: GitHub
- URL: https://github.com/sgreben/terrafile-ify
- Owner: sgreben
- License: mit
- Created: 2019-04-10T15:35:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T15:06:27.000Z (over 5 years ago)
- Last Synced: 2024-10-27T07:50:41.321Z (about 2 months ago)
- Topics: dependency-management, terrafile, terraform, vendoring
- Language: Go
- Homepage:
- Size: 188 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terrafile-ify
`terrafile-ify` generates Terrafiles and (optionally) re-writes Terraform source to use vendored modules.
## Contents
- [Contents](#contents)
- [Get it](#get-it)
- [Usage](#usage)## Get it
Using go get:
```bash
go get -u github.com/sgreben/terrafile-ify
```Or [download the binary](https://github.com/sgreben/terrafile-ify/releases/latest) from the releases page.
```bash
# Linux
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_linux_x86_64.zip
unzip terrafile-ify_0.1.1_linux_x86_64.zip# OS X
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_osx_x86_64.zip
unzip terrafile-ify_0.1.1_osx_x86_64.zip# Windows
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_windows_x86_64.zip
unzip terrafile-ify_0.1.1_windows_x86_64.zip
```## Usage
```text
terrafile-ify (generate|rewrite|execute)generate Generate Terrafiles
rewrite Rewrite module references to use vendored modules
execute Run the `terrafile` binary on each TerrafileUsage of terrafile-ify:
-ignore string
ignore files and directories matching this glob pattern (default ".terraform")
-terrafile-binary string
terrafile binary name (default "terrafile")
-version
print version and exit
```