github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/depsfile/paths.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package depsfile
     5  
     6  // LockFilePath is the path, relative to a configuration's root module
     7  // directory, where Terraform expects to find the dependency lock file for
     8  // that configuration.
     9  //
    10  // This file is intended to be kept in version control, so it lives directly
    11  // in the root module directory. The ".terraform" prefix is intended to
    12  // suggest that it's metadata about several types of objects that ultimately
    13  // end up in the .terraform directory after running "terraform init".
    14  const LockFilePath = ".terraform.lock.hcl"
    15  
    16  // DevOverrideFilePath is the path, relative to a configuration's root module
    17  // directory, where Terraform will look to find a possible override file that
    18  // represents a request to temporarily (within a single working directory only)
    19  // use specific local directories in place of packages that would normally
    20  // need to be installed from a remote location.
    21  const DevOverrideFilePath = ".terraform/dev-overrides.hcl"