mirror of https://github.com/databricks/cli.git
12 lines
302 B
Go
12 lines
302 B
Go
package terraform
|
|
|
|
import (
|
|
"github.com/databricks/bricks/bundle"
|
|
)
|
|
|
|
// Dir returns the Terraform working directory for a given bundle.
|
|
// The working directory is emphemeral and nested under the bundle's cache directory.
|
|
func Dir(b *bundle.Bundle) (string, error) {
|
|
return b.CacheDir("terraform")
|
|
}
|