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. 01 Jul, 2021 1 commit
  2. 29 Jun, 2021 6 commits
  3. 28 Jun, 2021 10 commits
  4. 25 Jun, 2021 8 commits
    • James Bardin's avatar
      Merge pull request #29039 from hashicorp/jbardin/sensitive · c687ebea
      James Bardin authored
      New marks.Sensitive type, and audit of sensitive marks usage
      c687ebea
    • James Bardin's avatar
      add marks.Raw · 80ef795c
      James Bardin authored
      80ef795c
    • James Bardin's avatar
      remove IsMarked and ContainsMarked calls · 55ebb270
      James Bardin authored
      Make sure sensitivity checks are looking for specific marks rather than
      any marks at all.
      55ebb270
    • James Bardin's avatar
      marks.Has and marks.Contains · cdf7469e
      James Bardin authored
      cdf7469e
    • James Bardin's avatar
      update to use typed sensitive marks · d9dfd451
      James Bardin authored
      d9dfd451
    • James Bardin's avatar
      marks package · 2c493e38
      James Bardin authored
      marks.Sensitive
      2c493e38
    • Kristin Laemmert's avatar
      Update CHANGELOG.md · 051c5c9d
      Kristin Laemmert authored
      051c5c9d
    • Kristin Laemmert's avatar
      terraform: use hcl.MergeBodies instead of configs.MergeBodies for pro… (#29000) · 09601060
      Kristin Laemmert authored
      * terraform: use hcl.MergeBodies instead of configs.MergeBodies for provider configuration
      
      Previously, Terraform would return an error if the user supplied provider configuration via interactive input iff the configuration provided on the command line was missing any required attributes - even if those attributes were already set in config.
      
      That error came from configs.MergeBody, which was designed for overriding valid configuration. It expects that the first ("base") body has all required attributes. However in the case of interactive input for provider configuration, it is perfectly valid if either or both bodies are missing required attributes, as long as the final body has all required attributes. hcl.MergeBodies works very similarly to configs.MergeBodies, with a key difference being that it only checks that all required attributes are present after the two bodies are merged.
      
      I've updated the existing test to use interactive input vars and a schema with all required attributes. This test failed before switching from configs.MergeBodies to hcl.MergeBodies.
      
      * add a command package test that shows that we can still have providers with dynamic configuration + required + interactive input merging
      
      This test failed when buildProviderConfig still used configs.MergeBodies instead of hcl.MergeBodies
      09601060
  5. 22 Jun, 2021 2 commits
    • Martin Atkins's avatar
      website: Explicit examples of -var escaping in various shells · a945b379
      Martin Atkins authored
      The -var command line option comes with the disadvantage that a user must
      contend both with Terraform's own parser and with the parser in whichever
      shell they've decided to use, and different shells on different platforms
      have different rules.
      
      Previously we've largely just assumed that folks know the appropriate
      syntax for the shell they chose, but it seems that command lines involving
      spaces and other special characters arise rarely enough in other commands
      that Terraform is often the first time someone needs to learn the
      appropriate syntax for their shell.
      
      We can't possibly capture all of the details of all shells in our docs,
      because that's far outside of our own scope, but hopefully this new
      section will go some way to give some real examples that will help folks
      figure out how to write suitable escape sequences, if they choose to
      set complex variable values on the command line rather than in .tfvars
      as we recommend elsewhere on this page.
      a945b379
    • Robin Norwood's avatar
      Merge pull request #28998 from hashicorp/rln-add-versions-tutorials-links · 50fe9808
      Robin Norwood authored
      Add links to terraform versions tutorials
      50fe9808
  6. 21 Jun, 2021 4 commits
  7. 18 Jun, 2021 5 commits
  8. 17 Jun, 2021 3 commits
    • Alisdair McDiarmid's avatar
      json-output: Omit unchanged resource_drift entries · 3326ab7d
      Alisdair McDiarmid authored
      Previously, if any resources were found to have drifted, the JSON plan
      output would include a drift entry for every resource in state. This
      commit aligns the JSON plan output with the CLI UI, and only includes
      those resources where the old value does not equal the new value---i.e.
      drift has been detected.
      
      Also fixes a bug where the "address" field was missing from the drift
      output, and adds some test coverage.
      3326ab7d
    • Kristin Laemmert's avatar
      Update CHANGELOG.md · af68a1e5
      Kristin Laemmert authored
      af68a1e5
    • Kristin Laemmert's avatar
      commands: `terraform add` (#28874) · 583859e5
      Kristin Laemmert authored
      * command: new command, terraform add, generates resource templates
      
      terraform add ADDRESS generates a resource configuration template with all required (and optionally optional) attributes set to null. This can optionally also pre-populate nonsesitive attributes with values from an existing resource of the same type in state (sensitive vals will be populated with null and a comment indicating sensitivity)
      
      * website: terraform add documentation
      583859e5
  9. 16 Jun, 2021 1 commit