terraform/helper
Kristin Laemmert 04be220f5f deprecate helper/copy
helper/copy CopyDir was used heavily in tests. It differes from
internal/copydir in a few ways, the main one being that it creates the
dst directory while the internal version expected the dst to exist
(there are other differences, which is why I did not just switch tests
to using internal's CopyDir).

I moved the CopyDir func from helper/copy into command_test.go; I could
also have moved it into internal/copy and named it something like
CreateDirAndCopy so if that seems like a better option please let me
know.

helper/copy/CopyFile was used in a couple of spots so I moved it into
internal, at which point I thought it made more sense to rename the
package copy (instead of copydir).

There's also a `go mod tidy` included.
2020-10-08 08:42:16 -04:00
..
acctest Add 'RandIpAddress'. 2019-08-02 14:51:40 -04:00
experiment command: Add experimental concise diff renderer 2020-09-10 10:35:55 -04:00
hashcode Update hashcode.go 2020-05-22 11:28:56 +05:30
logging helper/logging: Loosen the filtering heuristic even more 2019-12-05 15:22:03 -08:00
pathorcontents helper/pathorcontents: Skip one test when root 2018-09-19 11:38:51 -05:00
plugin Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00
resource helper: remove a bunch of unused packages, types and functions 2020-10-02 09:01:37 -07:00
schema helper: remove a bunch of unused packages, types and functions 2020-10-02 09:01:37 -07:00
slowmessage helper/slowmessage 2017-02-14 09:27:23 -08:00
validation helper: remove a bunch of unused packages, types and functions 2020-10-02 09:01:37 -07:00
wrappedreadline command: split out and tag code so compilation works on Solaris 2016-11-14 00:32:01 -08:00
wrappedstreams don't call os.NewFile on unknown FDs 2020-04-04 15:46:19 -04:00
README.md helper: remove a bunch of unused packages, types and functions 2020-10-02 09:01:37 -07:00

README.md

Legacy Helper Libraries

The packages in this directory are all legacy code. Some of them are legacy because they are now maintained in the Terraform SDK, while others are just obsolete codepaths that we intend to migrate away from over time.

Avoid using functions from packages under helper/ in new projects.