github.com/databricks/cli@v0.203.0/bundle/deploy/terraform/dir.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/databricks/cli/bundle"
     5  )
     6  
     7  // Dir returns the Terraform working directory for a given bundle.
     8  // The working directory is emphemeral and nested under the bundle's cache directory.
     9  func Dir(b *bundle.Bundle) (string, error) {
    10  	return b.CacheDir("terraform")
    11  }