packer-cn/builder/cloudstack
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
..
version remove sdk 2020-12-17 13:29:25 -08:00
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go remove sdk 2020-12-17 13:29:25 -08:00
builder.go remove sdk 2020-12-17 13:29:25 -08:00
builder_test.go remove sdk 2020-12-17 13:29:25 -08:00
config.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
config.hcl2spec.go add extra line before package declaration so this line does not become the synopsis of a package for godoc 2020-12-16 15:14:43 -08:00
config_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
ssh.go remove sdk 2020-12-17 13:29:25 -08:00
step_configure_networking.go remove sdk 2020-12-17 13:29:25 -08:00
step_create_instance.go remove sdk 2020-12-17 13:29:25 -08:00
step_create_security_group.go remove sdk 2020-12-17 13:29:25 -08:00
step_create_template.go remove sdk 2020-12-17 13:29:25 -08:00
step_detach_iso.go remove sdk 2020-12-17 13:29:25 -08:00
step_keypair.go remove sdk 2020-12-17 13:29:25 -08:00
step_prepare_config.go remove sdk 2020-12-17 13:29:25 -08:00
step_shutdown_instance.go remove sdk 2020-12-17 13:29:25 -08:00