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. 06 Dec, 2021 1 commit
  2. 11 Nov, 2021 8 commits
  3. 10 Nov, 2021 1 commit
  4. 09 Nov, 2021 3 commits
  5. 08 Nov, 2021 3 commits
  6. 05 Nov, 2021 2 commits
    • Martin Atkins's avatar
      main: Report version information for "interesting" dependencies · 5ac1074c
      Martin Atkins authored
      We have a few dependencies that are such a significant part of Terraform's
      behavior that they will often be the root cause of or the solution to a
      bug reported against Terraform.
      
      As a small quality-of-life improvement to help with diagnosing those,
      we'll now report the selected versions for each of these so-called
      "interesting" dependencies as part of our initial trace log output during
      Terraform startup.
      
      The goal here is that when someone opens a bug report, and includes the
      trace log as our bug report template requests, we'll be able to see at a
      glance which versions of these dependencies were involved, instead of
      having to manually cross-reference in the go.mod file of the reported main
      Terraform CLI version.
      
      This does slightly grow the general overhead of the logs, but as long as
      we keep this set of interesting dependencies relatively small it shouldn't
      present any significant problem in typical usage.
      5ac1074c
    • Laura Pacilio's avatar
      Merge pull request #29887 from strugee/patch-1 · 19101df1
      Laura Pacilio authored
      Fix typo in 0.13 upgrade guide
      19101df1
  7. 04 Nov, 2021 1 commit
  8. 03 Nov, 2021 11 commits
  9. 02 Nov, 2021 10 commits
    • James Bardin's avatar
      update go-cty · ca6d3cf5
      James Bardin authored
      cty: The documented definition and comparison logic of cty.Number is now
      refined to acknowledge that its true range is limited only to values
      that have both a binary floating point and decimal representation,
      because cty values are primarily designed to traverse JSON serialization
      where numbers are always defined as decimal strings.
      
      In particular, that means that two cty.Number values now always compare
      as equal if their representation in JSON (under cty's own JSON encoder)
      would be equal, even though the decimal approximation we use for that
      conversion is slightly lossy. This pragmatic compromise avoids confusing
      situations where a round-trip through JSON serialization (or other
      serializations that use the same number format) may produce a value that
      doesn't compare equal to the original.
      
      This new definition of equals should not cause any significant behavior
      change for any integer in our in-memory storage range, but may cause
      some fractional values to compare equal where they didn't before if they
      differ only by a small fraction.
      ca6d3cf5
    • Martin Atkins's avatar
      Update CHANGELOG.md · 938c0aee
      Martin Atkins authored
      938c0aee
    • Omar Ismail's avatar
    • Chris Arcand's avatar
      Update CHANGELOG.md · ece80c0f
      Chris Arcand authored
      ece80c0f
    • Chris Arcand's avatar
      Merge pull request #29860 from hashicorp/fix-init-after-error-take-two · f04ea2bd
      Chris Arcand authored
      command: Update backend hash value only after a successful migration
      f04ea2bd
    • Chris Arcand's avatar
      command: Don't always update backend hash when fetching the saved backend · 7c0c2e95
      Chris Arcand authored
      The Meta.backend_C_r_S_unchanged() method was sadly a bit of a mess.
      
      It seems to have originally been used as a method to be called
      when the backend is not changing, with an extra assumption that if the
      configured backend's hash doesn't match the one in state, surely the
      hash should just be updated as an option might have been moved to
      command line flags.
      
      However, this function was used throughout this file as 'the method to
      load the initialized (but not necessarily configured) backend',
      regardless of whether or not it is the same (unchanged). This is in
      addition to Meta.backendFromState(), which is used to load the same
      thing except in the main codepath of 'init -backend=false'.
      
      These changes separate the concerns of backend_C_r_S_unchanged() by
      
      1) Fetching the saved backend (savedBackend())
      2) Updating the hash value in the backend cache when appropriate (either
         by leaving it to the caller to do themselves or by calling
         updateSavedupdateSavedBackendHash())
      
      This allows migration codepaths to *not* update the hash value until
      after a migration has successfully taken place.
      7c0c2e95
    • James Bardin's avatar
      we don't need an abs provider address · 647d3606
      James Bardin authored
      We only lookup providers by provider type to get the schema, so there's
      no reason to generate anything more specific.
      647d3606
    • James Bardin's avatar
      generate precise resource types during validate · 6b8b0617
      James Bardin authored
      Allow `GetResource` to return correct types values during validation,
      rather than relying on `cty.DynamicVal` as a placeholder. This allows
      other dependent expressions to be more correctly evaluated.
      6b8b0617
    • Alisdair McDiarmid's avatar
      Update CHANGELOG.md · f019fb11
      Alisdair McDiarmid authored
      f019fb11
    • Łukasz Sierant's avatar