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

https://github.com/jdolitsky/terraform-then-helmfile

Tool that runs Terraform then Helmfile. That's it! Pretty crazy.
https://github.com/jdolitsky/terraform-then-helmfile

helm helmfile terraform

Last synced: 4 months ago
JSON representation

Tool that runs Terraform then Helmfile. That's it! Pretty crazy.

Awesome Lists containing this project

README

          

# terraform-then-helmfile

Tool that runs Terraform then Helmfile. That's it! Pretty crazy.

## Installation
You can inspect the whole script [here](./bin/terraform-then-helmfile.sh). Download it and copy to PATH:
```
curl -LO https://raw.githubusercontent.com/jdolitsky/terraform-then-helmfile/master/bin/terraform-then-helmfile.sh
chmod +x terraform-then-helmfile.sh
mv terraform-then-helmfile.sh /usr/local/bin/terraform-then-helmfile
```

## Usage

The only requirements is that it must be run in a directory containing both a `terraform/` and a `helmfile/` directory, both containing appropriate files for each tool. Example:
```
$ tree
.
├── helmfile
│   └── helmfile.yaml
└── terraform
├── main.tf
├── outputs.tf
└── variables.tf
```

Please see [this example](./examples/eks-hackmd).

To use, simply run `terraform-then-helmfile up` (make sure to save the resulting `terraform.tfstate` file somewhere).

To destroy everything, run `terraform-then-helmfile down`.