packer-cn/vendor/github.com/hashicorp/packer-plugin-sdk/packer
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
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
2021-02-02 18:05:04 +01:00
..
artifact.go update vendoring 2020-12-17 15:12:16 -08:00
artifact_mock.go update vendoring 2020-12-17 15:12:16 -08:00
build.go update vendoring 2020-12-17 15:12:16 -08:00
builder.go update vendoring 2020-12-17 15:12:16 -08:00
builder_mock.go update vendoring 2020-12-17 15:12:16 -08:00
builder_mock.hcl2spec.go update vendoring 2020-12-17 15:12:16 -08:00
cache.go update vendoring 2020-12-17 15:12:16 -08:00
communicator.go update vendoring 2020-12-17 15:12:16 -08:00
communicator_mock.go update vendoring 2020-12-17 15:12:16 -08:00
datasource.go Copy `MapOf...` plugin types back into Packer core (#10466) 2021-01-13 12:14:06 +01:00
datasource_mock.go Copy `MapOf...` plugin types back into Packer core (#10466) 2021-01-13 12:14:06 +01:00
datasource_mock.hcl2spec.go Copy `MapOf...` plugin types back into Packer core (#10466) 2021-01-13 12:14:06 +01:00
doc.go update vendoring 2020-12-17 15:12:16 -08:00
hcl2spec.go update vendoring 2020-12-17 15:12:16 -08:00
hook.go update vendoring 2020-12-17 15:12:16 -08:00
hook_mock.go update vendoring 2020-12-17 15:12:16 -08:00
logs.go update vendoring 2020-12-17 15:12:16 -08:00
maps.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
multi_error.go update vendoring 2020-12-17 15:12:16 -08:00
post_processor.go update vendoring 2020-12-17 15:12:16 -08:00
provisioner.go update vendoring 2020-12-17 15:12:16 -08:00
provisioner_mock.go update vendoring 2020-12-17 15:12:16 -08:00
provisioner_mock.hcl2spec.go update vendoring 2020-12-17 15:12:16 -08:00
ui.go update vendoring 2020-12-17 15:12:16 -08:00
ui_mock.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00