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. 25 Jun, 2021 5 commits
  2. 21 Jun, 2021 3 commits
    • Alisdair McDiarmid's avatar
      Merge pull request #28994 from hashicorp/alisdair/cty-1.8.4 · d54bcb62
      Alisdair McDiarmid authored
      Upgrade cty to v1.8.4
      d54bcb62
    • Alisdair McDiarmid's avatar
      ed0fc8a3
    • Kristin Laemmert's avatar
      configs: add decodeMovedBlock behind a locked gate. (#28973) · 3acb5e28
      Kristin Laemmert authored
      This PR adds decoding for the upcoming "moved" blocks in configuration. This code is gated behind an experiment called EverythingIsAPlan, but the experiment is not registered as an active experiment, so it will never run (there is a test in place which will fail if the experiment is ever registered).
      
      This also adds a new function to the Targetable interface, AddrType, to simplifying comparing two addrs.Targetable.
      
      There is some validation missing still: this does not (yet) descend into resources to see if the actual resource types are the same (I've put this off in part because we will eventually need the provider schema to verify aliased resources, so I suspect this validation will have to happen later on).
      3acb5e28
  3. 18 Jun, 2021 5 commits
  4. 17 Jun, 2021 3 commits
    • Alisdair McDiarmid's avatar
      json-output: Omit unchanged resource_drift entries · 3326ab7d
      Alisdair McDiarmid authored
      Previously, if any resources were found to have drifted, the JSON plan
      output would include a drift entry for every resource in state. This
      commit aligns the JSON plan output with the CLI UI, and only includes
      those resources where the old value does not equal the new value---i.e.
      drift has been detected.
      
      Also fixes a bug where the "address" field was missing from the drift
      output, and adds some test coverage.
      3326ab7d
    • Kristin Laemmert's avatar
      Update CHANGELOG.md · af68a1e5
      Kristin Laemmert authored
      af68a1e5
    • Kristin Laemmert's avatar
      commands: `terraform add` (#28874) · 583859e5
      Kristin Laemmert authored
      * command: new command, terraform add, generates resource templates
      
      terraform add ADDRESS generates a resource configuration template with all required (and optionally optional) attributes set to null. This can optionally also pre-populate nonsesitive attributes with values from an existing resource of the same type in state (sensitive vals will be populated with null and a comment indicating sensitivity)
      
      * website: terraform add documentation
      583859e5
  5. 16 Jun, 2021 2 commits
  6. 15 Jun, 2021 1 commit
  7. 14 Jun, 2021 5 commits
  8. 11 Jun, 2021 1 commit
    • James Bardin's avatar
      handle unexpected changes to unknown block · b7f8ef4d
      James Bardin authored
      An unknown block represents a dynamic configuration block with an
      unknown for_each value. We were not catching the case where a provider
      modified this value unexpectedly, which would crash with block of type
      NestingList blocks where the config value has no length for comparison.
      b7f8ef4d
  9. 10 Jun, 2021 3 commits
  10. 09 Jun, 2021 3 commits
    • James Bardin's avatar
      account for noop deposed instances in json plan · 09c33fa4
      James Bardin authored
      When rendering a json plan, we need to account for deposed instances
      that have become a noop rather than a destroy.
      09c33fa4
    • J.D. Stone's avatar
      Update 0-15.html.markdown · ce638c92
      J.D. Stone authored
      Fixed a typo.
      ce638c92
    • Nick Fagerlund's avatar
      Remote backend: Stop setting message when creating runs · ab70879b
      Nick Fagerlund authored
      Historically, we've used TFC's default run messages as a sort of dumping
      ground for metadata about the run. We've recently decided to mostly stop
      doing that, in favor of:
      
      - Only specifying the run's source in the default message.
      - Letting TFC itself handle the default messages.
      
      Today, the remote backend explicitly sets a run message, overriding
      any default that TFC might set. This commit removes that explicit message
      so we can allow TFC to sort it out.
      
      This shouldn't have any bad effect on TFE out in the wild, because it's
      known how to set a default message for remote backend runs since late 2018.
      ab70879b
  11. 08 Jun, 2021 7 commits
  12. 03 Jun, 2021 2 commits