mirror of https://github.com/databricks/cli.git
12 lines
299 B
Go
12 lines
299 B
Go
package terraform
|
|
|
|
import (
|
|
"github.com/databricks/cli/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")
|
|
}
|