This project is mirrored from https://gitee.com/NQL886/packer.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 05 Feb, 2021 14 commits
  2. 04 Feb, 2021 4 commits
  3. 02 Feb, 2021 1 commit
    • Adrien Delorme's avatar
      HCL2 Parse packer.required_plugins block + packer init (#10304) · ed091163
      Adrien Delorme authored
      This adds the new `required_plugins` block to be nested under the packer block.
      
      Example:
      ```hcl
      packer {
        required_plugins {
          aws = {
            version = ">= 2.7.0"
            source = "azr/aws"
          }
          azure = ">= 2.7.0"
        }
      }
      ```
      
      For example on darwin_amd64 Packer will install those under :
      * "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
      * "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"
      
      + docs
      + tests
      ed091163
  4. 29 Jan, 2021 2 commits
  5. 27 Jan, 2021 4 commits
    • Megan Marsh's avatar
      Merge pull request #10534 from timblaktu/patch-1 · 18970bfb
      Megan Marsh authored
      Improve Documentation for Build-level Source Block
      18970bfb
    • Tim Black's avatar
      Improve Documentation for Build-level Source Block · 30060467
      Tim Black authored
      The docs for top-level and build-level source blocks did not make it clear enough, early enough in the page, how packer merges their contents and fails when ambiguities  arise from redefinition. I know the info it there, but it's at the end and I feel that my modification shortens the page overall while putting the most useful info front and center. 
      
      Also, there is simply an error in the note at the end of this page, which further confuses the situation for new readers trying to use HCL and reuse source blocks. It's referring to a non-existent amazon source which is probably a past copy/paste error. 
      
      It took me a day to get re-usable source blocks working, bc I skimmed the page at first (I know slap my wrist), but didn't really grasp what it was saying in the Note at the end, and found it confusing. It wasn't until I found the Issues and PRs related to this feature getting added last April/May that I realized how it was implemented that I started to grasp what this was saying.
      30060467
    • Wilken Rivera's avatar
    • Miguel Hernández's avatar
  6. 26 Jan, 2021 4 commits
  7. 25 Jan, 2021 9 commits
  8. 22 Jan, 2021 2 commits