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. 22 Nov, 2021 2 commits
  2. 30 Jul, 2021 3 commits
  3. 17 May, 2021 1 commit
  4. 30 Apr, 2021 1 commit
  5. 09 Mar, 2021 1 commit
    • Masayuki Morita's avatar
      command/init: Add a new flag `-lockfile=readonly` (#27630) · 31a5aa18
      Masayuki Morita authored
      
      Fixes #27506
      
      Add a new flag `-lockfile=readonly` to `terraform init`.
      It would be useful to allow us to suppress dependency lockfile changes
      explicitly.
      
      The type of the `-lockfile` flag is string rather than bool, leaving
      room for future extensions to other behavior variants.
      
      The readonly mode suppresses lockfile changes, but should verify
      checksums against the information already recorded. It should conflict
      with the `-upgrade` flag.
      
      Note: In the original use-case described in #27506, I would like to
      suppress adding zh hashes, but a test code here suppresses adding h1
      hashes because it's easy for testing.
      Co-authored-by: default avatarAlisdair McDiarmid <alisdair@users.noreply.github.com>
      31a5aa18
  6. 22 Jan, 2021 4 commits
  7. 11 Jan, 2021 1 commit
  8. 17 Dec, 2020 1 commit
    • Nick Fagerlund's avatar
      website: Fix numerous links with redirects or broken anchors · 85d477ae
      Nick Fagerlund authored
      These links largely still go somewhere useful, but they have some kind of issue
      revealed by our new link checker:
      
      - Some of them point to a stale URL that redirects, and can be updated to the
        new destination.
      - Some of them point to anchors that don't exist (anymore?) in the destination.
      - Some of them end up redirecting unnecessarily due to how the server handles
        directory URLs without trailing slashes. Sorry, I know that's pointless, just,
        humor me for the time being so we can get our CI green. 😭
      
      In a couple cases, I've added invisible anchors to destination pages, either to
      preserve an old habit or because the current anchors kind of suck due to being
      particularly long or meandering.
      85d477ae
  9. 07 Dec, 2020 1 commit
    • Pam Selle's avatar
      Update docs and add warning for -get-plugins · b963ea85
      Pam Selle authored
      As of Terraform 0.13+, the get-plugins command has been
      superceded by new provider installation mechanisms, and
      general philosophy (providers are always installed, but
      the sources may be customized). Updat the init command
      to give users a warning if they are setting this flag,
      to encourage them to remove it from their workflow, and
      update relevant docs and docstrings as well
      b963ea85
  10. 09 Oct, 2020 1 commit
    • Martin Atkins's avatar
      website: Initial docs for the new dependency lock file behaviors · 897cb72b
      Martin Atkins authored
      This includes both the main documentation about the lock file itself and
      changes to related documentation about Terraform commands that interact
      with the lock file.
      
      We will likely continue to update this first pass of documentation as we
      get feedback and questions during the prerelease period.
      897cb72b
  11. 02 Oct, 2020 1 commit
  12. 04 Sep, 2020 1 commit
    • Martin Atkins's avatar
      main: new global option -chdir · efe78b29
      Martin Atkins authored
      This new option is intended to address the previous inconsistencies where
      some older subcommands supported partially changing the target directory
      (where Terraform would use the new directory inconsistently) where newer
      commands did not support that override at all.
      
      Instead, now Terraform will accept a -chdir command at the start of the
      command line (before the subcommand) and will interpret it as a request
      to direct all actions that would normally be taken in the current working
      directory into the target directory instead. This is similar to options
      offered by some other similar tools, such as the -C option in "make".
      
      The new option is only accepted at the start of the command line (before
      the subcommand) as a way to reflect that it is a global command (not
      specific to a particular subcommand) and that it takes effect _before_
      executing the subcommand. This also means it'll be forced to appear before
      any other command-specific arguments that take file paths, which hopeful...
      efe78b29
  13. 31 Jul, 2020 1 commit
  14. 05 Feb, 2020 1 commit
  15. 22 Mar, 2019 1 commit
  16. 21 Nov, 2018 1 commit
    • Nick Fagerlund's avatar
      website: Fix plugin path on Windows (#19423) · 7d5db952
      Nick Fagerlund authored
      ...and one other reference to the application data directory.
      
      Context:
      
      https://docs.microsoft.com/en-us/windows/desktop/shell/knownfolderid#folderid_roamingappdata
      
      In newer Windows versions, the folder accessible as `%APPDATA%` (and via various
      APIs) is actually at something like "documents and settings\user\application
      data\roaming", while earlier versions omit the "\roaming" part of the path. This
      means you can confuse people by referring to the "application data" directory by
      its human name, because "roaming" is the real application data directory, but it
      looks like a subdirectory of "application data".
      
      Thus, it's less confusing to just use the `%APPDATA%` variable, with the added
      benefit that you can copy and paste the path and it'll just work in most places.
      7d5db952
  17. 02 Oct, 2018 1 commit
    • Nick Fagerlund's avatar
      website: Reconcile docs about plugin discovery and downloading (#18973) · b3935b29
      Nick Fagerlund authored
      website: Reconcile docs about plugin discovery and downloading
      
      I'm attempting to keep things simple for normal users while making sure we've
      got the full behavior written down somewhere for plugin developers.
      
      This commit doesn't stand alone; it's paired with a commit in the
      terraform-website repo, to deal with some related content in the "extend"
      section.
      b3935b29
  18. 09 Sep, 2018 1 commit
  19. 24 Jan, 2018 1 commit
  20. 08 Jan, 2018 1 commit
  21. 11 Aug, 2017 1 commit
  22. 07 Aug, 2017 3 commits
  23. 28 Jul, 2017 1 commit
    • Martin Atkins's avatar
      command: terraform init -from-module=... · 8a7a0a74
      Martin Atkins authored
      This restores the earlier behavior of the first positional argument to
      terraform init in 0.9, but as a command line option.
      
      The positional argument was removed to improve consistency with other
      commands that take a working directory as their first positional argument.
      It was originally intended that this functionality would return in a
      later release along with some other general improvements to Terraform's
      module handling, but we're introducing here an interim solution that
      uses the existing module source concept, to allow for easier porting of
      workflows that previously depended on the automatic copy behavior.
      
      In a future release this feature may change again as the module
      improvements design firms up, but we expect it to be broadly compatible
      with this temporary state.
      8a7a0a74
  24. 25 Jul, 2017 1 commit
    • Martin Atkins's avatar
      website: more-elaborate "terraform init" docs · 23ef0e32
      Martin Atkins authored
      The "terraform init" command has a lot of different functionality now,
      making it hard to follow all of the options in the previous presentation.
      Instead, here we describe each of the steps and its associated options
      separately, hopefully making it easier to understand what each option
      relates to.
      
      In addition, much of the detail around backend partial configuration is
      factored out into the backend configuration page, where it seems more
      "at home"; previously it felt hard to follow exactly how partial
      configuration would be used, due to the information on it being split over
      two different pages.
      23ef0e32
  25. 20 Jun, 2017 1 commit
  26. 16 Jun, 2017 1 commit
  27. 13 Jun, 2017 1 commit
  28. 09 Jun, 2017 1 commit
  29. 26 Apr, 2017 1 commit
  30. 20 Apr, 2017 1 commit
  31. 13 Apr, 2017 1 commit
  32. 06 Apr, 2017 1 commit