Skip to content

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

License

Notifications You must be signed in to change notification settings

jdolitsky/terraform-then-helmfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-then-helmfile

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

Installation

You can inspect the whole script here. 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.

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages