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. 29 Oct, 2021 1 commit
    • Chris Arcand's avatar
      Update go-tfe to 26689e · 471dd479
      Chris Arcand authored
      These changes include additions to fulfill the interface for the client
      mock, plus moving all that logic (which needn't be duplicated across
      both the remote and cloud packages) over to the cloud package under a
      dedicated mock client file.
      471dd479
  2. 16 Oct, 2021 1 commit
  3. 14 Oct, 2021 3 commits
  4. 13 Oct, 2021 1 commit
  5. 12 Oct, 2021 6 commits
  6. 11 Oct, 2021 1 commit
  7. 24 Sep, 2021 1 commit
    • Alisdair McDiarmid's avatar
      build: Add exhaustive switch statement lint · e09bad76
      Alisdair McDiarmid authored
      For now, only check the JSON views package, since this was the instance
      that most recently tripped us up. There are a few dozen failures
      elsewhere in Terraform which would need to be addressed before expanding
      this to other packages.
      e09bad76
  8. 31 Aug, 2021 1 commit
  9. 23 Aug, 2021 1 commit
  10. 20 Aug, 2021 1 commit
    • Martin Atkins's avatar
      build: Centralize our protobuf compilation steps · ce96d82d
      Martin Atkins authored
      We have a few different .proto files in this repository that all need to
      get recompiled into .pb.go files each time we change them, but we were
      previously handling that with some scripts that just assumed that protoc
      and the relevant plugins were already installed on the system somewhere,
      at the right versions.
      
      In practice we've been constantly flopping between different versions of
      these tools due to folks having different versions installed in their
      development environments. In particular, the state of the .pb.go files
      in the prior commit wasn't reproducible by any single version of the tools
      because they've all slightly diverged from one another.
      
      In the interests of being more consistent here and avoiding accidental
      inconsistencies, we'll now centralize the protocol buffer compile steps
      all into a single tool that knows how to fetch and install the expected
      versions of the various tools we need and then run those tools with the
      right options to get a stable result.
      
      If we want to upgrade to either a newer protoc or a newer protoc-gen-go
      in future then we'll do that in a central location and update all of the
      .pb.go files at the same time, so that we're always consistently tracking
      the same version of protocol buffers everywhere.
      
      While doing this I attempted to keep as close as possible to the toolchain
      we'd most recently used, but since they were not consistent with each
      other they've now all changed which version numbers they record at minimum,
      and the planproto stub in particular now also has a slightly different
      descriptor serialization but is otherwise offering the same API.
      ce96d82d
  11. 19 Aug, 2021 3 commits
  12. 18 Aug, 2021 2 commits
  13. 17 Aug, 2021 1 commit
    • Martin Atkins's avatar
      go.mod: Opt in to pruned module graphs · 94f4f8e2
      Martin Atkins authored
      Go 1.17 has a new treatment of go.mod where it tracks more indirect
      dependencies in return for needing to fetch and load fewer transitive
      go.mod files.
      
      This commit opts in to that new treatment and adds all of the additional
      indirect dependencies which contain packages that Terraform directly or
      indirectly makes use of.
      
      There are more details on what's going on here in the "Lazy Module Loading"
      design document:
          http://golang.org/design/36460-lazy-module-loading
      
      (the design document was written assuming this would land in Go 1.15, but
      it actually landed in Go 1.17 and so it's "go 1.17" that selects the new
      behavior in spite of the examples in that document.)
      94f4f8e2
  14. 21 Jul, 2021 1 commit
  15. 20 Jul, 2021 1 commit
    • Kevin Burke's avatar
      go.mod,backend: update coreos/etcd dependency to release-3.4 branch · c047958b
      Kevin Burke authored
      etcd rewrote its import path from coreos/etcd to go.etcd.io/etcd.
      Changed the imports path in this commit, which also updates the code
      version.
      
      This lets us remove the github.com/ugorji/go/codec dependency, which
      was pinned to a fairly old version. The net change is a loss of 30,000
      lines of code in the vendor directory. (I first noticed this problem
      because the outdated go/codec dependency was causing a dependency
      failure when I tried to put Terraform and another project in the same
      vendor directory.)
      
      Note the version shows up funkily in go.mod, but I verified
      visually it's the same commit as the "release-3.4" tag in
      github.com/coreos/etcd. The etcd team plans to fix the release version
      tagging in v3.5, which should be released soon.
      c047958b
  16. 14 Jul, 2021 1 commit
    • Rémi Lapeyre's avatar
      Update the Consul API client · 3c34e15d
      Rémi Lapeyre authored
      Some users would want to use Consul namespaces when using the Consul
      backend but the version of the Consul API client we use is too old and
      don't support them. In preparation for this change this patch just update
      it the client and replace testutil.NewTestServerConfig() by
      testutil.NewTestServerConfigT() in the tests.
      3c34e15d
  17. 07 Jul, 2021 1 commit
  18. 21 Jun, 2021 1 commit
  19. 19 May, 2021 1 commit
  20. 18 May, 2021 1 commit
  21. 04 May, 2021 2 commits
  22. 23 Apr, 2021 1 commit
    • Kristin Laemmert's avatar
      lang/funcs: add (console-only) TypeFunction (#28501) · f6af7b4f
      Kristin Laemmert authored
      * lang/funcs: add (console-only) TypeFunction
      
      The type() function, which is only available for terraform console,
      prints out the type of a given value. This is mainly intended for
      debugging - it's nice to be able to print out terraform's understanding
      of a complex variable.
      
      This introduces a new field for Scope: ConsoleMode. When ConsoleMode is true, any additional functions intended for use in the console (only) may be added.
      f6af7b4f
  23. 21 Apr, 2021 2 commits
  24. 20 Apr, 2021 1 commit
  25. 16 Apr, 2021 2 commits
  26. 06 Apr, 2021 1 commit
  27. 05 Apr, 2021 1 commit