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 Feb, 2021 1 commit
  2. 24 Feb, 2021 19 commits
  3. 23 Feb, 2021 14 commits
  4. 22 Feb, 2021 6 commits
    • Martin Atkins's avatar
      Update CHANGELOG.md · 62b4d7b9
      Martin Atkins authored
      62b4d7b9
    • Martin Atkins's avatar
      website: Initial docs for the module integration testing experiment · 8d37a709
      Martin Atkins authored
      Since this is still at an early phase and likely to change significantly
      in future iterations, rather than attempting to guess on a suitable final
      location for documenting the testing feature I've instead taken the
      unusual approach of adding a new page that is explicitly about the
      experiment. My expectation is that once we conclude the experiment we'll
      replace this new page with a stub that just explains that there was once
      an experiment and then links to whatever final feature unfolded from the
      research.
      
      The URL for this page is hard-coded into the warning message in the
      "terraform test" command, so as we continue to evolve this feature in
      future releases we'll need to update the callout note on the page about
      which Terraform CLI version it's currently talking about, so users of
      older versions can clearly see when they'd need to upgrade in order to
      participate in a later incarnation of the experiment.
      8d37a709
    • Martin Atkins's avatar
      command: Experimental "terraform test" command · 7f783429
      Martin Atkins authored
      This is just a prototype to gather some feedback in our ongoing research
      on integration testing of Terraform modules. The hope is that by having a
      command integrated into Terraform itself it'll be easier for interested
      module authors to give it a try, and also easier for us to iterate quickly
      based on feedback without having to coordinate across multiple codebases.
      
      Everything about this is subject to change even in future patch releases.
      Since it's a CLI command rather than a configuration language feature it's
      not using the language experiments mechanism, but generates a warning
      similar to the one language experiments generate in order to be clear that
      backward compatibility is not guaranteed.
      7f783429
    • Martin Atkins's avatar
      internal/moduletest: Experimental module testing helpers · 8330f8e9
      Martin Atkins authored
      As part of ongoing research into Terraform testing we'd like to use an
      experimental feature to validate our current understanding that expressing
      tests as part of the Terraform language, as opposed to in some other
      language run alongside, is a good and viable way to write practical
      module integration tests.
      
      This initial experimental incarnation of that idea is implemented as a
      provider, just because that's an easier extension point for research
      purposes than a first-class language feature would be. Whether this would
      ultimately emerge as a provider similar to this or as custom language
      constructs will be a matter for future research, if this first
      experiment confirms that tests written in the Terraform language are the
      best direction to take.
      
      The previous incarnation of this experiment was an externally-developed
      provider apparentlymart/testing, listed on the Terraform Registry. That
      helped with showing that there are some useful tests that we can write
      in the Terraform language, but integrating such a provider into Terraform
      will allow us to make use of it in the also-experimental "terraform test"
      command, which will follow in subsequent commits, to see how this might
      fit into a development workflow.
      8330f8e9
    • Alisdair McDiarmid's avatar
      50d58b59
    • Alisdair McDiarmid's avatar
      Merge pull request #27841 from hashicorp/alisdair/command-views-apply · 56b756cf
      Alisdair McDiarmid authored
      cli: Migrate apply to command views
      56b756cf