In Development Package, API may change between versions.

import "github.com/egdaemon/eg/runtime/x/wasi/egterraform"

Package egterraform has supporting functions for configuring the environment for running terraform commands within eg.

func CacheDirectory

func CacheDirectory(dirs ...string) string

func Env

func Env() ([]string, error)

attempt to build the yarn environment that properly

func Runtime

func Runtime() shell.Command

Create a shell runtime that properly sets up the yarn environment for caching.