mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-18 22:11:39 -04:00
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
49 lines
1004 B
JSON
49 lines
1004 B
JSON
{
|
|
"ignorePatterns": [
|
|
{
|
|
"pattern": "^https://example.com"
|
|
},
|
|
{
|
|
"pattern": "^https://ec2.custom.endpoint.com"
|
|
},
|
|
{
|
|
"pattern": "^https://www.linode.com"
|
|
},
|
|
{
|
|
"pattern": "^https://github.com/hashicorp/packer-plugin-scaffolding"
|
|
},
|
|
{
|
|
"pattern": "^https://www.packer.io/docs/templates/hcl_templates/"
|
|
},
|
|
{
|
|
"pattern": "^https://packer.io/docs/templates/hcl_templates/"
|
|
},
|
|
{
|
|
"pattern": "^/docs/templates/hcl_templates/"
|
|
},
|
|
{
|
|
"pattern": "^/commands/init"
|
|
},
|
|
{
|
|
"pattern": "^/docs/datasources"
|
|
},
|
|
{
|
|
"pattern": "^/docs/extending/custom-datasources"
|
|
},
|
|
{
|
|
"pattern": "^/docs/templates/legacy_json_templates"
|
|
},
|
|
{
|
|
"pattern": "^https://packer.io/docs/templates/legacy_json_templates"
|
|
}
|
|
],
|
|
"replacementPatterns": [
|
|
{
|
|
"pattern": "^/",
|
|
"replacement": "{{env.DEPLOYMENT_URL}}/"
|
|
}
|
|
],
|
|
"timeout": "20s",
|
|
"retryOn429": true
|
|
}
|