Open
Description
Instead of maintaining a list of version numbers in internal/testutil/tfcache.go, use a version matrix in the CircleCI config. The TFEXEC_E2ETEST_VERSIONS
env var should then be used for similar behaviour during local development.
Note that if we remove these consts entirely, tests not using the main runTest()
helper to run tests against the default list of versions will need to hard-code the relevant versions. However, such tests often make use of latest versions, e.g.:
terraform-exec/tfexec/internal/e2etest/upgrade012_test.go
Lines 14 to 16 in cb3a405
Perhaps the consts should instead be initialised according to values in the CircleCI environment.