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. 24 May, 2016 6 commits
  2. 23 May, 2016 28 commits
  3. 22 May, 2016 2 commits
  4. 21 May, 2016 4 commits
    • Martin Atkins's avatar
      helper/resource: ignore data resource diffs during destroy · 031b561e
      Martin Atkins authored
      When testing destroy, the test harness calls Refresh followed by Plan,
      with the expectation that the resulting diff will be empty.
      
      Data resources challenge this expectation, because they will always be
      instantiated during refresh if their configuration isn't computed, and so
      the subsequent diff will want to destroy what was instantiated.
      
      To work around this, we make an exception that data resource destroy
      diffs may appear in the plan but nothing else.
      
      This fixes #6713.
      031b561e
    • Martin Atkins's avatar
      core: restore data resource creation diffs · b255c389
      Martin Atkins authored
      cd0c4522 contained a bug where the creation diff for a data resource was
      put into a new local variable within the else block rather than into the
      diff variable in the parent scope, causing a null diff to always be
      produced.
      
      This restores the expected behavior: a computed data resource appears in
      the diff, so it can then be fetched during the apply walk.
      b255c389
    • Martin Atkins's avatar
      core: test to prove that data diffs are broken · d9c13755
      Martin Atkins authored
      Apparently there's been a regression in the creation of data resource
      diffs: they aren't showing up in the plan at all.
      
      As a first step to fixing this, this is an intentionally-failing test
      that proves it's broken.
      d9c13755
    • Paul Stack's avatar
      Update CHANGELOG.md · 18803d9b
      Paul Stack authored
      18803d9b