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. 15 May, 2020 2 commits
    • Martin Atkins's avatar
      backend/remote: Support -target on plan and apply · 16f1f3b7
      Martin Atkins authored
      Previously we did not allow -target to be used with the remote backend
      because there was no way to send the targets to Terraform Cloud/Enterprise
      via the API.
      
      There is now an attribute in the request for creating a plan that allows
      us to send target addresses, so we'll remove that restriction and copy
      the given target addresses into the API request.
      16f1f3b7
    • Martin Atkins's avatar
      vendor: go get github.com/hashicorp/go-tfe@v0.8.0 · db4f3f8b
      Martin Atkins authored
      This includes a new TargetAddrs field on both Run and RunCreateOptions
      which we'll use to send resource addresses that were specified using
      -target on the CLI command line when using the remote backend.
      
      There were some unrelated upstream breaking changes compared to the last
      version we had vendored, so this commit also includes some changes to the
      backend/remote package to work with this new API, which now requires the
      remote backend to be aware of the remote system's opaque workspace id.
      db4f3f8b
  2. 11 May, 2020 3 commits
  3. 08 May, 2020 6 commits
  4. 07 May, 2020 10 commits
  5. 06 May, 2020 5 commits
    • Pam Selle's avatar
      Update CHANGELOG.md · e1862644
      Pam Selle authored
      e1862644
    • Pam Selle's avatar
      Merge pull request #24696 from hashicorp/leetrout/remote-state-force-push · 60b3815a
      Pam Selle authored
      Add support for force pushing with the remote backend
      60b3815a
    • Lee Trout's avatar
      Add support for force pushing with the remote backend · cb0e20ca
      Lee Trout authored
      Both differing serials and lineage protections should be bypassed
      with the -force flag (in addition to resources).
      
      Compared to other backends we aren’t just shipping over the state
      bytes in a simple payload during the persistence phase of the push
      command and the force flag added to the Go TFE client needs to be
      specified at that time.
      
      To prevent changing every method signature of PersistState of the
      remote client I added an optional interface that provides a hook
      to flag the Client as operating in a force push context. Changing
      the method signature would be more explicit at the cost of not
      being used anywhere else currently or the optional interface pattern
      could be applied to the state itself so it could be upgraded to
      support PersistState(force bool) only when needed.
      
      Prior to this only the resources of the state were checked for
      changes not the lineage or the serial. To bring this in line with
      documented behavior noted above those attributes a...
      cb0e20ca
    • Pam Selle's avatar
      Merge pull request #24874 from hashicorp/pselle/modulecallexpansionvalidation · 3e420d5f
      Pam Selle authored
      Add more validation to expanding modules
      3e420d5f
    • Pam Selle's avatar
      Add more validation to expanding modules · 38e5d9c6
      Pam Selle authored
      38e5d9c6
  6. 05 May, 2020 5 commits
  7. 04 May, 2020 5 commits
  8. 03 May, 2020 1 commit
  9. 01 May, 2020 1 commit
  10. 30 Apr, 2020 2 commits