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