This project is mirrored from https://:*****@github.com/hashicorp/terraform.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 29 Oct, 2021 26 commits
  2. 26 Oct, 2021 2 commits
  3. 25 Oct, 2021 6 commits
  4. 23 Oct, 2021 1 commit
  5. 22 Oct, 2021 1 commit
  6. 21 Oct, 2021 3 commits
    • Alisdair McDiarmid's avatar
      backend/remote: Fix version check when migrating · 17294315
      Alisdair McDiarmid authored
      When migrating state to an existing Terraform Cloud workspace using the
      remote backend, we check the remote version is compatible with the local
      one by default.
      
      This commit fixes two bugs in this code:
      
      - If using the "name" strategy for the remote backend, the list of
        destination workspaces is empty. This resulted in no version checking
        of the remote workspace, and we fell back to the string equality
        check.
      - The user-specified CLI flag `-ignore-remote-version` was not being
        applied for the state migration version checking.
      17294315
    • Alisdair McDiarmid's avatar
      cli: Fix init failure with deleted cache · 39de3ebe
      Alisdair McDiarmid authored
      The init command needs to initialize a backend, in order to access
      state, in turn to derive provider requirements from state. The backend
      initialization step requires building provider factories, which
      previously would fail if a lockfile was present without a corresponding
      local provider cache.
      
      This commit ensures that in this situation only, errors with the
      provider factories are temporarily ignored. This allows us to continue
      to initialize the backend, fetch providers, and then report any errors
      as necessary.
      39de3ebe
    • Alisdair McDiarmid's avatar
      command/e2etest: Ensure init fixes missing cache · 1190b95f
      Alisdair McDiarmid authored
      We test that a deleted provider cache results in an error when running
      terraform plan, but previously did not test that running init (as
      instructed) would resolve the issue. This (failing) e2e test adds that
      step.
      1190b95f
  7. 20 Oct, 2021 1 commit