Home

Awesome

example-wrapper

This is examples to wrap Terraform command using aqua.

There are several ways to implement the wrapper:

  1. Shell script wrapper
  2. Go wrapper
  3. Install the wrapper using aqua

Shell script wrapper

First, please install aqua.

And run aqua i -l.

aqua i -l
  1. Add bin to `$PATH:
export PATH=$PWD/bin:$PATH

If you use direnv,

direnv allow
  1. Run terraform:
$ terraform version
[INFO] Terraform wrapper
Terraform v1.9.8
on darwin_arm64

LICENSE

MIT