2024-02-08 03:48:59 -06:00
|
|
|
// Copyright (c) The OpenTofu Authors
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
2023-05-02 10:33:06 -05:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2020-09-03 20:35:31 -05:00
|
|
|
package depsfile
|
|
|
|
|
|
|
|
// LockFilePath is the path, relative to a configuration's root module
|
2023-09-20 09:05:24 -05:00
|
|
|
// directory, where OpenTofu expects to find the dependency lock file for
|
2020-09-03 20:35:31 -05:00
|
|
|
// that configuration.
|
|
|
|
//
|
|
|
|
// This file is intended to be kept in version control, so it lives directly
|
|
|
|
// in the root module directory. The ".terraform" prefix is intended to
|
|
|
|
// suggest that it's metadata about several types of objects that ultimately
|
2023-09-20 09:05:24 -05:00
|
|
|
// end up in the .terraform directory after running "tofu init".
|
2020-09-03 20:35:31 -05:00
|
|
|
const LockFilePath = ".terraform.lock.hcl"
|
|
|
|
|
|
|
|
// DevOverrideFilePath is the path, relative to a configuration's root module
|
2023-09-20 09:05:24 -05:00
|
|
|
// directory, where OpenTofu will look to find a possible override file that
|
2020-09-03 20:35:31 -05:00
|
|
|
// represents a request to temporarily (within a single working directory only)
|
|
|
|
// use specific local directories in place of packages that would normally
|
|
|
|
// need to be installed from a remote location.
|
|
|
|
const DevOverrideFilePath = ".terraform/dev-overrides.hcl"
|