terraform/command/cliconfig
Martin Atkins 55e6f64977 internal/depsfile: Factor out our atomic file replacement logic
This originated in the cliconfig code to write out credentials files. The
Windows implementation of this in particular was quite onerous to get
right because it needs a very specific sequence of operations to avoid
running into exclusive file locks, and so by factoring this out with
only cosmetic modification we can avoid repeating all of that engineering
effort for other atomic file writing use-cases.
2020-10-14 08:01:19 -07:00
..
testdata command/cliconfig: handle provider_installation block in JSON syntax 2020-04-23 10:52:01 -07:00
cliconfig.go provider cache: log errors and validate dir exists (#24993) 2020-05-19 15:32:36 -04:00
cliconfig_test.go provider cache: log errors and validate dir exists (#24993) 2020-05-19 15:32:36 -04:00
config_unix.go internal/depsfile: Factor out our atomic file replacement logic 2020-10-14 08:01:19 -07:00
config_windows.go internal/depsfile: Factor out our atomic file replacement logic 2020-10-14 08:01:19 -07:00
credentials.go internal/depsfile: Factor out our atomic file replacement logic 2020-10-14 08:01:19 -07:00
credentials_test.go Replace import paths & set UA string where necessary 2019-10-11 22:40:54 +01:00
provider_installation.go main: Properly handle provider installation method exclusions 2020-04-23 10:52:01 -07:00
provider_installation_test.go command/cliconfig: handle provider_installation block in JSON syntax 2020-04-23 10:52:01 -07:00