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. 09 Nov, 2022 1 commit
    • Martin Atkins's avatar
      go get github.com/zclconf/go-cty-yaml@v1.0.3 · a0b57d07
      Martin Atkins authored
      This includes the fix for a bug in what Terraform calls the "yamldecode"
      function, where it was not correctly handling any situation where the
      decode result is a null value. It was previously returning an unknown
      value in that case, whereas now it returns a null value as expected.
      a0b57d07
  2. 02 Nov, 2022 1 commit
  3. 18 Oct, 2022 1 commit
  4. 07 Oct, 2022 1 commit
  5. 04 Oct, 2022 1 commit
    • Sarah French's avatar
      Add customer-managed encryption key (KMS) support to GCS backend (#31786) · d43ec0f3
      Sarah French authored
      
      * Add ability to use customer-managed KMS key to encrypt state, add acceptance tests
      
      * Change test names for different encrpytion methods
      
      * Commit files updated by `go mod tidy`
      
      * Add guard against missing ENVs to `setupKmsKey` func
      
      * Update KMS setup function to get credentials from ENVs
      
      * Update tests to not include zero-values in config
      
      This means that default values are supplied later by TF instead of supplied as config from the user
      
      This also avoids issues related to making field conflicts explicit with `ConflictsWith`
      
      * Make `encryption_key` & `kms_encryption_key` conflicting fields
      
      Removing the Default from `encryption_key` does not appear to be a breaking change when tested manually
      
      * Add ability to set `kms_encryption_key` via ENV
      
      * Refactor `encryption_key` to use `DefaultFunc` to access ENV, if set
      
      * Remove comments
      
      * Update `gcs` backend docs & descriptions in schema
      
      * Update `gcs` backend docs to include information on encryption methods
      
      * Apply technical writing suggestions from code review
      Co-authored-by: default avatarMatthew Garrell <69917312+mgarrell777@users.noreply.github.com>
      
      * Update documentation to remove passive voice
      
      * Change use of context in tests, add inline comment, update logs
      
      * Remove use of `ReadPathOrContents` for new field
      Co-authored-by: default avatarMatthew Garrell <69917312+mgarrell777@users.noreply.github.com>
      d43ec0f3
  6. 30 Sep, 2022 1 commit
  7. 23 Sep, 2022 1 commit
    • Alisdair McDiarmid's avatar
      Upgrade HCL to fix optional attr default crash · 10ae444e
      Alisdair McDiarmid authored
      Also add regression test coverage of the crash. This would occur when
      objects with optional attributes had default values of different type
      from the attribute type, and the objects were members of a collection.
      
      For example:
      
      list(object({
        a = optional(set(string), [])
      }))
      
      If this type constraint is applied to a variable value where one object
      has a set(string) value for a, and the other object applies the empty
      tuple default, Terraform would crash.
      10ae444e
  8. 20 Sep, 2022 1 commit
    • Glenn Sarti's avatar
      Upgrade go-tfe to 1.10.0 · fc7b6b7f
      Glenn Sarti authored
      This commit updates the go-tfe library to the latest version (1.10.0). This is needed by
      later commits for the pre-apply task stage.
      fc7b6b7f
  9. 01 Sep, 2022 1 commit
  10. 31 Aug, 2022 1 commit
  11. 30 Aug, 2022 1 commit
  12. 26 Aug, 2022 1 commit
  13. 22 Aug, 2022 1 commit
    • Martin Atkins's avatar
      go.mod: go get github.com/zclconf/go-cty@v1.11.0 · a6de221a
      Martin Atkins authored
      This fixes a possible panic in what Terraform calls the "flatten" function
      in situations where a user passes in a null value of a sequence type.
      The function will now treat that the same as a null value of any other
      type.
      a6de221a
  14. 18 Aug, 2022 1 commit
  15. 25 Jul, 2022 1 commit
  16. 22 Jul, 2022 1 commit
  17. 08 Jul, 2022 1 commit
  18. 30 Jun, 2022 2 commits
  19. 29 Jun, 2022 1 commit
  20. 27 Jun, 2022 1 commit
    • James Bardin's avatar
      remove deprecated etcd backend · 799ab6c9
      James Bardin authored
      This allows us to remove the manual replace directives
      github.com/dgrijalva/jwt-go and google.golang.org/grpc, so that we can
      remove the CVE warnings and update the grpc packages.
      
      While the etcdv3 backend is also marked as deprecated, the changes here
      are done in a manner to keep that backend working for the time being.
      799ab6c9
  21. 23 Jun, 2022 1 commit
  22. 16 Jun, 2022 1 commit
    • Martin Atkins's avatar
      go.mod: Now targeting the Go 1.18 language · 7b3e6b32
      Martin Atkins authored
      This means we can now use type parameter syntax where appropriate.
      
      This commit also includes an upgrade to the golang.org/x/tools module,
      in order to get a newer version of "stringer" that supports the type
      parameters syntax.
      7b3e6b32
  23. 13 Jun, 2022 1 commit
  24. 31 May, 2022 2 commits
  25. 25 May, 2022 1 commit
  26. 20 May, 2022 1 commit
  27. 28 Apr, 2022 1 commit
  28. 27 Apr, 2022 1 commit
  29. 25 Apr, 2022 2 commits
  30. 20 Apr, 2022 1 commit
  31. 04 Apr, 2022 1 commit
    • Martin Atkins's avatar
      build: GitHub Actions "Quick Checks" workflow · 9210ce6c
      Martin Atkins authored
      This is intended to eventually replace the CircleCI-based checks we use
      as part of the PR process in this repository. We're already using GitHub
      Actions for various other processes in this repository, so this change is
      motivated by consistency of having all of our automation running in the
      same system and written in the same language.
      
      This is not a complete replacement for our CircleCI workflow yet, and
      probably won't ever be because the CircleCI workflow contains some steps
      that are arguably redundant with other processes we follow elsewhere.
      However, the CircleCI workflow remains for now and won't be removed until
      we're satisfied that enough of it is replicated by this GitHub Actions
      workflow.
      9210ce6c
  32. 23 Mar, 2022 1 commit
  33. 02 Mar, 2022 1 commit
    • Barrett Clark's avatar
      Update go-slug for terraform.tfstate exclusion · ecf76add
      Barrett Clark authored
      `go-slug` has been updated to not upload `terraform.tfstate` to the slug
      so that a user will no longer receive the error message about the
      leftover state file after migrating from the local backend to TFC.
      ecf76add
  34. 01 Mar, 2022 2 commits
  35. 25 Feb, 2022 1 commit
  36. 24 Feb, 2022 1 commit