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. 12 Jul, 2020 2 commits
    • Martin Atkins's avatar
      playground: Initial import of stub webassembly module · 92fa5515
      Martin Atkins authored
      This does nothing useful yet, but illustrates that it's possible to
      compile and run Terraform's config loader and Terraform Core under
      WebAssembly.
      
      However, this seems to have some serious performance problems in that it
      uses a lot of CPU and eventually crashes even though the code in the main
      package has apparently halted. It seems like either something in the
      Go wasm runtime or in an init() function in a library we depend on is
      using a lot of CPU even after the main program has finished.
      92fa5515
    • Martin Atkins's avatar
      configs/configload: inode stub implementation for js_wasm target · 5111a598
      Martin Atkins authored
      This always returns an error and is only here to allow this package to
      compile for the js_wasm target. We won't be using this function on that
      platform, so it doesn't need to actually work.
      5111a598
  2. 10 Jul, 2020 3 commits
  3. 09 Jul, 2020 2 commits
  4. 08 Jul, 2020 7 commits
    • Martin Atkins's avatar
      addrs: Disallow provider source addresses starting with terraform- · 0a46ded3
      Martin Atkins authored
      The main motivation here is to produce a helpful error if a user
      incorrectly uses the terraform-provider- prefix (which we see on provider
      VCS repositories and plugin executables) as part of the source address.
      
      However, this also more broadly blocks "terraform-" as a prefix in
      anticipation of whatever instinct causes the phenomenon where e.g.
      Python's PyPI has thousands of packages whose names start with "python-",
      even though everything on PyPI is for Python by definition. This is
      definitely not _necessary_, but it's better to be restrictive at first
      and weaken later as needed.
      0a46ded3
    • Martin Atkins's avatar
      command/init: Specialized error message for host that isn't registry · 7909dd31
      Martin Atkins authored
      If the user specifies a host that isn't a provider registry in a provider
      source address then we'll print out some specialized error messages for
      different variants of that situation.
      
      In particular, this includes a special case for when the error is on the
      hostname "github.com", in anticipation of folks incorrectly attempting to
      use GitHub repository URLs (or Go-style module paths that happen to be
      on GitHub) to specify providers, so we can give a more specific hint about
      that.
      
      This is just a different presentation of an existing error case that we
      are already covering in the installer tests, so there are no new tests
      here. We could in principle have a test covering the exact text of these
      error messages, but we don't have much precedent for command package tests
      covering that level of cosmetic detail.
      7909dd31
    • Martin Atkins's avatar
      command/init: Remove special 0.12upgrade heuristic · 80ab867e
      Martin Atkins authored
      For Terraform v0.12 we introduced a special loading mode where we would
      use the 0.11-syntax-compatible "earlyconfig" package as a heuristic to
      identify situations where it was likely that the user was trying to use
      0.11-only syntax that the upgrade tool might help with.
      
      However, as the language has moved on that is no longer a suitable
      heuristic in Terraform 0.13 and later: other new additions to the
      language can cause the main loader to disagree with earlyconfig, which
      would lead us to give poor advice about how to respond.
      
      Instead, we'll now return the same generic "there are errors" message in
      all syntax error cases. We have an extra message for errors in this
      case (as compared to other commands) because "terraform init" is usually
      the first command a new user interacts with and so this message gives some
      extra explanation about what "terraform init" will do with the
      configuration once it's valid.
      
      This also includes a reset control character in the output of the message
      as part of our ongoing mission to stop Terraform printing out whole
      paragraphs of colored text, which can often be hard to read for various
      reasons.
      80ab867e
    • Petros Kolyvas's avatar
      Merge pull request #25515 from magodo/add_outlook_provider · 3877f20e
      Petros Kolyvas authored
      Add community provider to terraform.io: terraform-provider-outlook
      3877f20e
    • James Bardin's avatar
      Merge pull request #25500 from hashicorp/jbardin/destroy-output-expand · 8e79611e
      James Bardin authored
      Do not evaluate output when doing a full destroy
      8e79611e
    • magodo's avatar
      70e25b6a
    • Sune Keller's avatar
  5. 07 Jul, 2020 12 commits
  6. 06 Jul, 2020 1 commit
  7. 02 Jul, 2020 4 commits
  8. 01 Jul, 2020 9 commits