terraform/command/e2etest
Martin Atkins 49e2e00231 command: terraform providers mirror
This new command is intended to make it easy to create or update a mirror
directory containing suitable providers for the current configuration,
producing a layout that is appropriate both for a filesystem mirror or,
if copied into the document root of an HTTP server, a network mirror.

This initial version is not customizable aside from being able to select
multiple platforms to install packages for.

Future iterations of this could include commands to turn the JSON index
generation on and off, or to instruct it to produce the unpacked directory
layout instead of the packed directory layout as it currently does. Both
of those options would make the generated directory unsuitable to be
a network mirror, but it would still work as a filesystem mirror.

In the long run this will hopefully form part of a replacement workflow to
terraform-bundle as a way to put copies of providers somewhere so we don't
need to re-download them every time, but some other changes will be needed
outside of just this command before that'd be true, such as adding support
for network and/or filesystem mirrors in Terraform Enterprise.
2020-06-01 14:49:43 -07:00
..
testdata command: terraform providers mirror 2020-06-01 14:49:43 -07:00
.gitignore command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
automation_test.go command/e2etest: update "init" tests for abbreviated provider addresses 2020-04-06 09:24:23 -07:00
doc.go command/e2etest: end-to-end testing harness 2017-07-17 14:25:33 -07:00
init_test.go update e2etests for windows compatibility 2020-05-29 11:57:50 -04:00
main_test.go [WIP] Re-enable the end-to-end tests (#20044) 2019-04-29 13:03:24 -04:00
make-archive.sh Standardise directory name for test data 2019-06-30 10:16:15 +02:00
primary_test.go command/e2etest: update "init" tests for abbreviated provider addresses 2020-04-06 09:24:23 -07:00
providers_mirror_test.go command: terraform providers mirror 2020-06-01 14:49:43 -07:00
unmanaged_test.go command: Unmanaged providers 2020-05-26 17:48:57 -07:00
version_test.go command/e2etest: Update expected output for new plugin installer 2020-04-06 09:24:23 -07:00