mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-05 06:42:30 -04:00
Temporarily revert the use of indirect redirects for external plugins (#11430)
The auto installation of external plugins via packer init only work for HCL templates. Since we have not officially removed all plugins (slated for 1.8.0) I am reverting this test change. Once 1.7.9 is released we can begin removing plugins and optimizing the redirect experience for JSON-only users.
This commit is contained in:
parent
0188d63d5a
commit
58fa1f96e2
4 changed files with 685 additions and 54 deletions
|
|
@ -2,26 +2,187 @@ package command
|
|||
|
||||
import (
|
||||
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
|
||||
|
||||
// Previously core-bundled components, split into their own plugins but
|
||||
// still vendored with Packer for now. Importing as library instead of
|
||||
// forcing use of packer init, until packer v1.8.0
|
||||
|
||||
alicloudecsbuilder "github.com/hashicorp/packer-plugin-alicloud/builder/ecs"
|
||||
alicloudimportpostprocessor "github.com/hashicorp/packer-plugin-alicloud/post-processor/alicloud-import"
|
||||
amazonchrootbuilder "github.com/hashicorp/packer-plugin-amazon/builder/chroot"
|
||||
amazonebsbuilder "github.com/hashicorp/packer-plugin-amazon/builder/ebs"
|
||||
amazonebssurrogatebuilder "github.com/hashicorp/packer-plugin-amazon/builder/ebssurrogate"
|
||||
amazonebsvolumebuilder "github.com/hashicorp/packer-plugin-amazon/builder/ebsvolume"
|
||||
amazoninstancebuilder "github.com/hashicorp/packer-plugin-amazon/builder/instance"
|
||||
amazonamidatasource "github.com/hashicorp/packer-plugin-amazon/datasource/ami"
|
||||
amazonsecretsmanagerdatasource "github.com/hashicorp/packer-plugin-amazon/datasource/secretsmanager"
|
||||
anazibimportpostprocessor "github.com/hashicorp/packer-plugin-amazon/post-processor/import"
|
||||
ansibleprovisioner "github.com/hashicorp/packer-plugin-ansible/provisioner/ansible"
|
||||
ansiblelocalprovisioner "github.com/hashicorp/packer-plugin-ansible/provisioner/ansible-local"
|
||||
azurearmbuilder "github.com/hashicorp/packer-plugin-azure/builder/azure/arm"
|
||||
azurechrootbuilder "github.com/hashicorp/packer-plugin-azure/builder/azure/chroot"
|
||||
azuredtlbuilder "github.com/hashicorp/packer-plugin-azure/builder/azure/dtl"
|
||||
azuredtlartifactprovisioner "github.com/hashicorp/packer-plugin-azure/provisioner/azure-dtlartifact"
|
||||
chefclientprovisioner "github.com/hashicorp/packer-plugin-chef/provisioner/chef-client"
|
||||
chefsoloprovisioner "github.com/hashicorp/packer-plugin-chef/provisioner/chef-solo"
|
||||
cloudstackbuilder "github.com/hashicorp/packer-plugin-cloudstack/builder/cloudstack"
|
||||
convergeprovisioner "github.com/hashicorp/packer-plugin-converge/provisioner/converge"
|
||||
digitaloceanbuilder "github.com/hashicorp/packer-plugin-digitalocean/builder/digitalocean"
|
||||
digitaloceanimportpostprocessor "github.com/hashicorp/packer-plugin-digitalocean/post-processor/digitalocean-import"
|
||||
dockerbuilder "github.com/hashicorp/packer-plugin-docker/builder/docker"
|
||||
dockerimportpostprocessor "github.com/hashicorp/packer-plugin-docker/post-processor/docker-import"
|
||||
dockerpushpostprocessor "github.com/hashicorp/packer-plugin-docker/post-processor/docker-push"
|
||||
dockersavepostprocessor "github.com/hashicorp/packer-plugin-docker/post-processor/docker-save"
|
||||
dockertagpostprocessor "github.com/hashicorp/packer-plugin-docker/post-processor/docker-tag"
|
||||
googlecomputebuilder "github.com/hashicorp/packer-plugin-googlecompute/builder/googlecompute"
|
||||
googlecomputeexportpostprocessor "github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-export"
|
||||
googlecomputeimportpostprocessor "github.com/hashicorp/packer-plugin-googlecompute/post-processor/googlecompute-import"
|
||||
hcloudbuilder "github.com/hashicorp/packer-plugin-hcloud/builder/hcloud"
|
||||
hyperonebuilder "github.com/hashicorp/packer-plugin-hyperone/builder/hyperone"
|
||||
hypervisobuilder "github.com/hashicorp/packer-plugin-hyperv/builder/hyperv/iso"
|
||||
hypervvmcxbuilder "github.com/hashicorp/packer-plugin-hyperv/builder/hyperv/vmcx"
|
||||
inspecprovisioner "github.com/hashicorp/packer-plugin-inspec/provisioner/inspec"
|
||||
jdcloudbuilder "github.com/hashicorp/packer-plugin-jdcloud/builder/jdcloud"
|
||||
linodebuilder "github.com/hashicorp/packer-plugin-linode/builder/linode"
|
||||
lxcbuilder "github.com/hashicorp/packer-plugin-lxc/builder/lxc"
|
||||
lxdbuilder "github.com/hashicorp/packer-plugin-lxd/builder/lxd"
|
||||
ncloudbuilder "github.com/hashicorp/packer-plugin-ncloud/builder/ncloud"
|
||||
oneandonebuilder "github.com/hashicorp/packer-plugin-oneandone/builder/oneandone"
|
||||
openstackbuilder "github.com/hashicorp/packer-plugin-openstack/builder/openstack"
|
||||
oracleclassicbuilder "github.com/hashicorp/packer-plugin-oracle/builder/classic"
|
||||
oracleocibuilder "github.com/hashicorp/packer-plugin-oracle/builder/oci"
|
||||
oscbsubuilder "github.com/hashicorp/packer-plugin-outscale/builder/osc/bsu"
|
||||
oscbsusurrogatebuilder "github.com/hashicorp/packer-plugin-outscale/builder/osc/bsusurrogate"
|
||||
oscbsuvolumebuilder "github.com/hashicorp/packer-plugin-outscale/builder/osc/bsuvolume"
|
||||
oscchrootbuilder "github.com/hashicorp/packer-plugin-outscale/builder/osc/chroot"
|
||||
parallelsisobuilder "github.com/hashicorp/packer-plugin-parallels/builder/parallels/iso"
|
||||
parallelspvmbuilder "github.com/hashicorp/packer-plugin-parallels/builder/parallels/pvm"
|
||||
profitbricksbuilder "github.com/hashicorp/packer-plugin-profitbricks/builder/profitbricks"
|
||||
proxmoxclone "github.com/hashicorp/packer-plugin-proxmox/builder/proxmox/clone"
|
||||
proxmoxiso "github.com/hashicorp/packer-plugin-proxmox/builder/proxmox/iso"
|
||||
puppetmasterlessprovisioner "github.com/hashicorp/packer-plugin-puppet/provisioner/puppet-masterless"
|
||||
puppetserverprovisioner "github.com/hashicorp/packer-plugin-puppet/provisioner/puppet-server"
|
||||
qemubuilder "github.com/hashicorp/packer-plugin-qemu/builder/qemu"
|
||||
saltmasterlessprovisioner "github.com/hashicorp/packer-plugin-salt/provisioner/salt-masterless"
|
||||
tencentcloudcvmbuilder "github.com/hashicorp/packer-plugin-tencentcloud/builder/tencentcloud/cvm"
|
||||
tritonbuilder "github.com/hashicorp/packer-plugin-triton/builder/triton"
|
||||
uclouduhostbuilder "github.com/hashicorp/packer-plugin-ucloud/builder/ucloud/uhost"
|
||||
ucloudimportpostprocessor "github.com/hashicorp/packer-plugin-ucloud/post-processor/ucloud-import"
|
||||
vagrantbuilder "github.com/hashicorp/packer-plugin-vagrant/builder/vagrant"
|
||||
vagrantpostprocessor "github.com/hashicorp/packer-plugin-vagrant/post-processor/vagrant"
|
||||
vagrantcloudpostprocessor "github.com/hashicorp/packer-plugin-vagrant/post-processor/vagrant-cloud"
|
||||
virtualboxisobuilder "github.com/hashicorp/packer-plugin-virtualbox/builder/virtualbox/iso"
|
||||
virtualboxovfbuilder "github.com/hashicorp/packer-plugin-virtualbox/builder/virtualbox/ovf"
|
||||
virtualboxvmbuilder "github.com/hashicorp/packer-plugin-virtualbox/builder/virtualbox/vm"
|
||||
vmwareisobuilder "github.com/hashicorp/packer-plugin-vmware/builder/vmware/iso"
|
||||
vmwarevmxbuilder "github.com/hashicorp/packer-plugin-vmware/builder/vmware/vmx"
|
||||
vsphereclonebuilder "github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/clone"
|
||||
vsphereisobuilder "github.com/hashicorp/packer-plugin-vsphere/builder/vsphere/iso"
|
||||
vspherepostprocessor "github.com/hashicorp/packer-plugin-vsphere/post-processor/vsphere"
|
||||
vspheretemplatepostprocessor "github.com/hashicorp/packer-plugin-vsphere/post-processor/vsphere-template"
|
||||
yandexbuilder "github.com/hashicorp/packer-plugin-yandex/builder/yandex"
|
||||
yandexexportpostprocessor "github.com/hashicorp/packer-plugin-yandex/post-processor/yandex-export"
|
||||
yandeximportpostprocessor "github.com/hashicorp/packer-plugin-yandex/post-processor/yandex-import"
|
||||
scalewaybuilder "github.com/scaleway/packer-plugin-scaleway/builder/scaleway"
|
||||
)
|
||||
|
||||
// VendoredDatasources are datasource components that were once bundled with the
|
||||
// Packer core, but are now being imported from their counterpart plugin repos
|
||||
var VendoredDatasources = map[string]packersdk.Datasource{}
|
||||
var VendoredDatasources = map[string]packersdk.Datasource{
|
||||
"amazon-ami": new(amazonamidatasource.Datasource),
|
||||
"amazon-secretsmanager": new(amazonsecretsmanagerdatasource.Datasource),
|
||||
}
|
||||
|
||||
// VendoredBuilders are builder components that were once bundled with the
|
||||
// Packer core, but are now being imported from their counterpart plugin repos
|
||||
var VendoredBuilders = map[string]packersdk.Builder{}
|
||||
var VendoredBuilders = map[string]packersdk.Builder{
|
||||
"alicloud-ecs": new(alicloudecsbuilder.Builder),
|
||||
"amazon-ebs": new(amazonebsbuilder.Builder),
|
||||
"amazon-chroot": new(amazonchrootbuilder.Builder),
|
||||
"amazon-ebssurrogate": new(amazonebssurrogatebuilder.Builder),
|
||||
"amazon-ebsvolume": new(amazonebsvolumebuilder.Builder),
|
||||
"amazon-instance": new(amazoninstancebuilder.Builder),
|
||||
"azure-arm": new(azurearmbuilder.Builder),
|
||||
"azure-chroot": new(azurechrootbuilder.Builder),
|
||||
"azure-dtl": new(azuredtlbuilder.Builder),
|
||||
"cloudstack": new(cloudstackbuilder.Builder),
|
||||
"digitalocean": new(digitaloceanbuilder.Builder),
|
||||
"docker": new(dockerbuilder.Builder),
|
||||
"googlecompute": new(googlecomputebuilder.Builder),
|
||||
"hcloud": new(hcloudbuilder.Builder),
|
||||
"hyperv-iso": new(hypervisobuilder.Builder),
|
||||
"hyperv-vmcx": new(hypervvmcxbuilder.Builder),
|
||||
"hyperone": new(hyperonebuilder.Builder),
|
||||
"jdcloud": new(jdcloudbuilder.Builder),
|
||||
"linode": new(linodebuilder.Builder),
|
||||
"lxc": new(lxcbuilder.Builder),
|
||||
"lxd": new(lxdbuilder.Builder),
|
||||
"ncloud": new(ncloudbuilder.Builder),
|
||||
"oneandone": new(oneandonebuilder.Builder),
|
||||
"openstack": new(openstackbuilder.Builder),
|
||||
"oracle-classic": new(oracleclassicbuilder.Builder),
|
||||
"oracle-oci": new(oracleocibuilder.Builder),
|
||||
"profitbricks": new(profitbricksbuilder.Builder),
|
||||
"proxmox": new(proxmoxiso.Builder),
|
||||
"proxmox-iso": new(proxmoxiso.Builder),
|
||||
"proxmox-clone": new(proxmoxclone.Builder),
|
||||
"parallels-iso": new(parallelsisobuilder.Builder),
|
||||
"parallels-pvm": new(parallelspvmbuilder.Builder),
|
||||
"qemu": new(qemubuilder.Builder),
|
||||
"scaleway": new(scalewaybuilder.Builder),
|
||||
"tencentcloud-cvm": new(tencentcloudcvmbuilder.Builder),
|
||||
"triton": new(tritonbuilder.Builder),
|
||||
"ucloud-uhost": new(uclouduhostbuilder.Builder),
|
||||
"vagrant": new(vagrantbuilder.Builder),
|
||||
"vsphere-clone": new(vsphereclonebuilder.Builder),
|
||||
"vsphere-iso": new(vsphereisobuilder.Builder),
|
||||
"virtualbox-iso": new(virtualboxisobuilder.Builder),
|
||||
"virtualbox-ovf": new(virtualboxovfbuilder.Builder),
|
||||
"virtualbox-vm": new(virtualboxvmbuilder.Builder),
|
||||
"vmware-iso": new(vmwareisobuilder.Builder),
|
||||
"vmware-vmx": new(vmwarevmxbuilder.Builder),
|
||||
"osc-bsu": new(oscbsubuilder.Builder),
|
||||
"osc-bsusurrogate": new(oscbsusurrogatebuilder.Builder),
|
||||
"osc-bsuvolume": new(oscbsuvolumebuilder.Builder),
|
||||
"osc-chroot": new(oscchrootbuilder.Builder),
|
||||
"yandex": new(yandexbuilder.Builder),
|
||||
}
|
||||
|
||||
// VendoredProvisioners are provisioner components that were once bundled with the
|
||||
// Packer core, but are now being imported from their counterpart plugin repos
|
||||
var VendoredProvisioners = map[string]packersdk.Provisioner{}
|
||||
var VendoredProvisioners = map[string]packersdk.Provisioner{
|
||||
"azure-dtlartifact": new(azuredtlartifactprovisioner.Provisioner),
|
||||
"ansible": new(ansibleprovisioner.Provisioner),
|
||||
"ansible-local": new(ansiblelocalprovisioner.Provisioner),
|
||||
"chef-client": new(chefclientprovisioner.Provisioner),
|
||||
"chef-solo": new(chefsoloprovisioner.Provisioner),
|
||||
"converge": new(convergeprovisioner.Provisioner),
|
||||
"inspec": new(inspecprovisioner.Provisioner),
|
||||
"puppet-masterless": new(puppetmasterlessprovisioner.Provisioner),
|
||||
"puppet-server": new(puppetserverprovisioner.Provisioner),
|
||||
"salt-masterless": new(saltmasterlessprovisioner.Provisioner),
|
||||
}
|
||||
|
||||
// VendoredPostProcessors are post-processor components that were once bundled with the
|
||||
// Packer core, but are now being imported from their counterpart plugin repos
|
||||
var VendoredPostProcessors = map[string]packersdk.PostProcessor{}
|
||||
var VendoredPostProcessors = map[string]packersdk.PostProcessor{
|
||||
"alicloud-import": new(alicloudimportpostprocessor.PostProcessor),
|
||||
"amazon-import": new(anazibimportpostprocessor.PostProcessor),
|
||||
"digitalocean-import": new(digitaloceanimportpostprocessor.PostProcessor),
|
||||
"docker-import": new(dockerimportpostprocessor.PostProcessor),
|
||||
"docker-push": new(dockerpushpostprocessor.PostProcessor),
|
||||
"docker-save": new(dockersavepostprocessor.PostProcessor),
|
||||
"docker-tag": new(dockertagpostprocessor.PostProcessor),
|
||||
"googlecompute-export": new(googlecomputeexportpostprocessor.PostProcessor),
|
||||
"googlecompute-import": new(googlecomputeimportpostprocessor.PostProcessor),
|
||||
"ucloud-import": new(ucloudimportpostprocessor.PostProcessor),
|
||||
"vagrant": new(vagrantpostprocessor.PostProcessor),
|
||||
"vagrant-cloud": new(vagrantcloudpostprocessor.PostProcessor),
|
||||
"vsphere-template": new(vspheretemplatepostprocessor.PostProcessor),
|
||||
"vsphere": new(vspherepostprocessor.PostProcessor),
|
||||
"yandex-export": new(yandexexportpostprocessor.PostProcessor),
|
||||
"yandex-import": new(yandeximportpostprocessor.PostProcessor),
|
||||
}
|
||||
|
||||
// Upon init lets load up any plugins that were vendored manually into the default
|
||||
// set of plugins.
|
||||
|
|
|
|||
104
go.mod
104
go.mod
|
|
@ -60,21 +60,77 @@ require (
|
|||
google.golang.org/grpc v1.40.0
|
||||
)
|
||||
|
||||
require github.com/caarlos0/env/v6 v6.7.2
|
||||
require (
|
||||
github.com/caarlos0/env/v6 v6.7.2
|
||||
github.com/hashicorp/packer-plugin-alicloud v1.0.1
|
||||
github.com/hashicorp/packer-plugin-ansible v1.0.0
|
||||
github.com/hashicorp/packer-plugin-azure v1.0.4
|
||||
github.com/hashicorp/packer-plugin-chef v1.0.2
|
||||
github.com/hashicorp/packer-plugin-cloudstack v1.0.0
|
||||
github.com/hashicorp/packer-plugin-converge v1.0.1
|
||||
github.com/hashicorp/packer-plugin-digitalocean v1.0.1
|
||||
github.com/hashicorp/packer-plugin-docker v1.0.3
|
||||
github.com/hashicorp/packer-plugin-googlecompute v1.0.7
|
||||
github.com/hashicorp/packer-plugin-hcloud v1.0.2
|
||||
github.com/hashicorp/packer-plugin-hyperone v1.0.0
|
||||
github.com/hashicorp/packer-plugin-hyperv v1.0.0
|
||||
github.com/hashicorp/packer-plugin-inspec v1.0.0
|
||||
github.com/hashicorp/packer-plugin-jdcloud v1.0.0
|
||||
github.com/hashicorp/packer-plugin-linode v1.0.0
|
||||
github.com/hashicorp/packer-plugin-lxc v1.0.0
|
||||
github.com/hashicorp/packer-plugin-lxd v1.0.0
|
||||
github.com/hashicorp/packer-plugin-ncloud v1.0.1
|
||||
github.com/hashicorp/packer-plugin-oneandone v1.0.0
|
||||
github.com/hashicorp/packer-plugin-openstack v1.0.0
|
||||
github.com/hashicorp/packer-plugin-oracle v1.0.1
|
||||
github.com/hashicorp/packer-plugin-outscale v1.0.2
|
||||
github.com/hashicorp/packer-plugin-parallels v1.0.0
|
||||
github.com/hashicorp/packer-plugin-profitbricks v1.0.1
|
||||
github.com/hashicorp/packer-plugin-proxmox v1.0.3
|
||||
github.com/hashicorp/packer-plugin-puppet v1.0.1
|
||||
github.com/hashicorp/packer-plugin-qemu v1.0.1
|
||||
github.com/hashicorp/packer-plugin-salt v1.0.0
|
||||
github.com/hashicorp/packer-plugin-tencentcloud v1.0.3
|
||||
github.com/hashicorp/packer-plugin-triton v1.0.0
|
||||
github.com/hashicorp/packer-plugin-ucloud v1.0.0
|
||||
github.com/hashicorp/packer-plugin-vagrant v1.0.0
|
||||
github.com/hashicorp/packer-plugin-virtualbox v1.0.0
|
||||
github.com/hashicorp/packer-plugin-vmware v1.0.3
|
||||
github.com/hashicorp/packer-plugin-vsphere v1.0.2
|
||||
github.com/hashicorp/packer-plugin-yandex v1.0.2
|
||||
github.com/scaleway/packer-plugin-scaleway v1.0.4
|
||||
)
|
||||
|
||||
require (
|
||||
cloud.google.com/go/storage v1.16.1 // indirect
|
||||
github.com/1and1/oneandone-cloudserver-sdk-go v1.0.1 // indirect
|
||||
github.com/Azure/azure-sdk-for-go v55.7.0+incompatible // indirect
|
||||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
||||
github.com/Azure/go-autorest/autorest v0.11.19 // indirect
|
||||
github.com/Azure/go-autorest/autorest/adal v0.9.14 // indirect
|
||||
github.com/Azure/go-autorest/autorest/azure/auth v0.4.2 // indirect
|
||||
github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 // indirect
|
||||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
||||
github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect
|
||||
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
|
||||
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
||||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
||||
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
|
||||
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
|
||||
github.com/Masterminds/goutils v1.1.1 // indirect
|
||||
github.com/Masterminds/semver v1.5.0 // indirect
|
||||
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
|
||||
github.com/Microsoft/go-winio v0.4.16 // indirect
|
||||
github.com/NaverCloudPlatform/ncloud-sdk-go-v2 v1.1.7 // indirect
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
|
||||
github.com/PuerkitoBio/purell v1.1.1 // indirect
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
||||
github.com/Telmate/proxmox-api-go v0.0.0-20210804143723-a6998deceba2 // indirect
|
||||
github.com/acomagu/bufpipe v1.0.3 // indirect
|
||||
github.com/agext/levenshtein v1.2.3 // indirect
|
||||
github.com/aliyun/alibaba-cloud-sdk-go v1.61.1028 // indirect
|
||||
github.com/aliyun/aliyun-oss-go-sdk v2.1.8+incompatible // indirect
|
||||
github.com/antihax/optional v1.0.0 // indirect
|
||||
github.com/apparentlymart/go-cidr v1.0.1 // indirect
|
||||
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
||||
github.com/armon/go-metrics v0.3.9 // indirect
|
||||
|
|
@ -84,11 +140,19 @@ require (
|
|||
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
|
||||
github.com/bgentry/speakeasy v0.1.0 // indirect
|
||||
github.com/bmatcuk/doublestar v1.1.5 // indirect
|
||||
github.com/c2h5oh/datasize v0.0.0-20200825124411-48ed595a09d2 // indirect
|
||||
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
||||
github.com/digitalocean/go-libvirt v0.0.0-20201209184759-e2a69bcd5bd1 // indirect
|
||||
github.com/digitalocean/go-qemu v0.0.0-20210326154740-ac9e0b687001 // indirect
|
||||
github.com/digitalocean/godo v1.65.0 // indirect
|
||||
github.com/dimchansky/utfbom v1.1.1 // indirect
|
||||
github.com/dylanmei/iso8601 v0.1.0 // indirect
|
||||
github.com/emirpasic/gods v1.12.0 // indirect
|
||||
github.com/fatih/color v1.12.0 // indirect
|
||||
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect
|
||||
github.com/ghodss/yaml v1.0.0 // indirect
|
||||
github.com/go-git/gcfg v1.5.0 // indirect
|
||||
github.com/go-git/go-billy/v5 v5.3.1 // indirect
|
||||
github.com/go-ole/go-ole v1.2.5 // indirect
|
||||
|
|
@ -102,20 +166,29 @@ require (
|
|||
github.com/go-openapi/swag v0.19.14 // indirect
|
||||
github.com/go-openapi/validate v0.20.2 // indirect
|
||||
github.com/go-ozzo/ozzo-validation v3.6.0+incompatible // indirect
|
||||
github.com/go-resty/resty/v2 v2.6.0 // indirect
|
||||
github.com/go-stack/stack v1.8.0 // indirect
|
||||
github.com/gofrs/uuid v4.0.0+incompatible // indirect
|
||||
github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3 // indirect
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
||||
github.com/golang/protobuf v1.5.2 // indirect
|
||||
github.com/golang/snappy v0.0.4 // indirect
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||
github.com/google/uuid v1.3.0 // indirect
|
||||
github.com/googleapis/gax-go/v2 v2.1.0 // indirect
|
||||
github.com/gophercloud/gophercloud v0.12.0 // indirect
|
||||
github.com/gophercloud/utils v0.0.0-20200508015959-b0167b94122c // indirect
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2 // indirect
|
||||
github.com/hashicorp/aws-sdk-go-base v0.7.1 // indirect
|
||||
github.com/hashicorp/consul/api v1.10.1 // indirect
|
||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||
github.com/hashicorp/go-azure-helpers v0.16.5 // indirect
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||
github.com/hashicorp/go-getter/gcs/v2 v2.0.0-20200604122502-a6995fa1edad // indirect
|
||||
github.com/hashicorp/go-getter/s3/v2 v2.0.0-20200604122502-a6995fa1edad // indirect
|
||||
github.com/hashicorp/go-hclog v0.16.2 // indirect
|
||||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
||||
github.com/hashicorp/go-oracle-terraform v0.17.0 // indirect
|
||||
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
|
||||
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
|
||||
github.com/hashicorp/go-safetemp v1.0.0 // indirect
|
||||
|
|
@ -126,37 +199,64 @@ require (
|
|||
github.com/hashicorp/vault/api v1.1.1 // indirect
|
||||
github.com/hashicorp/vault/sdk v0.2.1 // indirect
|
||||
github.com/hashicorp/yamux v0.0.0-20210826001029-26ff87cf9493 // indirect
|
||||
github.com/hetznercloud/hcloud-go v1.25.0 // indirect
|
||||
github.com/huandu/xstrings v1.3.2 // indirect
|
||||
github.com/hyperonecom/h1-client-go v0.0.0-20191203060043-b46280e4c4a4 // indirect
|
||||
github.com/imdario/mergo v0.3.12 // indirect
|
||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||
github.com/jdcloud-api/jdcloud-sdk-go v1.9.1-0.20190605102154-3d81a50ca961 // indirect
|
||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||
github.com/josharian/intern v1.0.0 // indirect
|
||||
github.com/joyent/triton-go v1.8.5 // indirect
|
||||
github.com/json-iterator/go v1.1.10 // indirect
|
||||
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
||||
github.com/kr/fs v0.1.0 // indirect
|
||||
github.com/linode/linodego v0.28.5 // indirect
|
||||
github.com/mailru/easyjson v0.7.6 // indirect
|
||||
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
|
||||
github.com/mattn/go-colorable v0.1.8 // indirect
|
||||
github.com/mattn/go-isatty v0.0.13 // indirect
|
||||
github.com/mitchellh/copystructure v1.2.0 // indirect
|
||||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
||||
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed // indirect
|
||||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
||||
github.com/mitchellh/iochan v1.0.0 // indirect
|
||||
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.1 // indirect
|
||||
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
|
||||
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
||||
github.com/oracle/oci-go-sdk/v36 v36.2.0 // indirect
|
||||
github.com/outscale/osc-sdk-go v1.11.2 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/profitbricks/profitbricks-sdk-go v4.0.2+incompatible // indirect
|
||||
github.com/rivo/uniseg v0.2.0 // indirect
|
||||
github.com/ryanuber/go-glob v1.0.0 // indirect
|
||||
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7 // indirect
|
||||
github.com/sergi/go-diff v1.1.0 // indirect
|
||||
github.com/stretchr/objx v0.3.0 // indirect
|
||||
github.com/sirupsen/logrus v1.4.2 // indirect
|
||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.283 // indirect
|
||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.283 // indirect
|
||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.283 // indirect
|
||||
github.com/ucloud/ucloud-sdk-go v0.20.2 // indirect
|
||||
github.com/ufilesdk-dev/ufile-gosdk v1.0.1 // indirect
|
||||
github.com/ugorji/go/codec v1.2.6 // indirect
|
||||
github.com/vmware/govmomi v0.26.0 // indirect
|
||||
github.com/xanzy/go-cloudstack v2.4.1+incompatible // indirect
|
||||
github.com/xanzy/ssh-agent v0.3.0 // indirect
|
||||
github.com/yandex-cloud/go-genproto v0.0.0-20210419102011-ea71516bb3f7 // indirect
|
||||
github.com/yandex-cloud/go-sdk v0.0.0-20210413100926-1c3eb10c58d7 // indirect
|
||||
go.mongodb.org/mongo-driver v1.4.6 // indirect
|
||||
go.opencensus.io v0.23.0 // indirect
|
||||
golang.org/x/mobile v0.0.0-20210901025245-1fde1d6c3ca1 // indirect
|
||||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2 // indirect
|
||||
google.golang.org/protobuf v1.27.1 // indirect
|
||||
gopkg.in/ini.v1 v1.62.0 // indirect
|
||||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
|
|
|
|||
78
main.go
78
main.go
|
|
@ -326,67 +326,67 @@ func loadConfig() (*config, error) {
|
|||
// BuilderRedirects
|
||||
BuilderRedirects: map[string]string{
|
||||
|
||||
"amazon-chroot": "github.com/hashicorp/amazon",
|
||||
"amazon-ebs": "github.com/hashicorp/amazon",
|
||||
"amazon-ebssurrogate": "github.com/hashicorp/amazon",
|
||||
"amazon-ebsvolume": "github.com/hashicorp/amazon",
|
||||
"amazon-instance": "github.com/hashicorp/amazon",
|
||||
//"amazon-chroot": "github.com/hashicorp/amazon",
|
||||
//"amazon-ebs": "github.com/hashicorp/amazon",
|
||||
//"amazon-ebssurrogate": "github.com/hashicorp/amazon",
|
||||
//"amazon-ebsvolume": "github.com/hashicorp/amazon",
|
||||
//"amazon-instance": "github.com/hashicorp/amazon",
|
||||
|
||||
"azure-arm": "github.com/hashicorp/azure",
|
||||
"azure-chroot": "github.com/hashicorp/azure",
|
||||
"azure-dtl": "github.com/hashicorp/azure",
|
||||
//"azure-arm": "github.com/hashicorp/azure",
|
||||
//"azure-chroot": "github.com/hashicorp/azure",
|
||||
//"azure-dtl": "github.com/hashicorp/azure",
|
||||
|
||||
"docker": "github.com/hashicorp/docker",
|
||||
//"docker": "github.com/hashicorp/docker",
|
||||
|
||||
"exoscale": "github.com/exoscale/exoscale",
|
||||
//"exoscale": "github.com/exoscale/exoscale",
|
||||
|
||||
"googlecompute": "github.com/hashicorp/googlecompute",
|
||||
//"googlecompute": "github.com/hashicorp/googlecompute",
|
||||
|
||||
"parallels-iso": "github.com/hashicorp/parallels",
|
||||
"parallels-pvm": "github.com/hashicorp/parallels",
|
||||
//"parallels-iso": "github.com/hashicorp/parallels",
|
||||
//"parallels-pvm": "github.com/hashicorp/parallels",
|
||||
|
||||
"qemu": "github.com/hashicorp/qemu",
|
||||
//"qemu": "github.com/hashicorp/qemu",
|
||||
|
||||
"vagrant": "github.com/hashicorp/vagrant",
|
||||
//"vagrant": "github.com/hashicorp/vagrant",
|
||||
|
||||
"virtualbox-iso": "github.com/hashicorp/virtualbox",
|
||||
"virtualbox-ovf": "github.com/hashicorp/virtualbox",
|
||||
"virtualbox-vm": "github.com/hashicorp/virtualbox",
|
||||
//"virtualbox-iso": "github.com/hashicorp/virtualbox",
|
||||
//"virtualbox-ovf": "github.com/hashicorp/virtualbox",
|
||||
//"virtualbox-vm": "github.com/hashicorp/virtualbox",
|
||||
|
||||
"vmware-iso": "github.com/hashicorp/vmware",
|
||||
"vmware-vmx": "github.com/hashicorp/vmware",
|
||||
//"vmware-iso": "github.com/hashicorp/vmware",
|
||||
//"vmware-vmx": "github.com/hashicorp/vmware",
|
||||
|
||||
"vsphere-iso": "github.com/hashicorp/vsphere",
|
||||
"vsphere-clone": "github.com/hashicorp/vsphere",
|
||||
//"vsphere-iso": "github.com/hashicorp/vsphere",
|
||||
//"vsphere-clone": "github.com/hashicorp/vsphere",
|
||||
},
|
||||
DatasourceRedirects: map[string]string{
|
||||
"amazon-ami": "github.com/hashicorp/amazon",
|
||||
"amazon-secretsmanager": "github.com/hashicorp/amazon",
|
||||
//"amazon-ami": "github.com/hashicorp/amazon",
|
||||
//"amazon-secretsmanager": "github.com/hashicorp/amazon",
|
||||
},
|
||||
ProvisionerRedirects: map[string]string{
|
||||
"ansible": "github.com/hashicorp/ansible",
|
||||
"ansible-local": "github.com/hashicorp/ansible",
|
||||
//"ansible": "github.com/hashicorp/ansible",
|
||||
//"ansible-local": "github.com/hashicorp/ansible",
|
||||
|
||||
"azure-dtlartifact": "github.com/hashicorp/azure",
|
||||
//"azure-dtlartifact": "github.com/hashicorp/azure",
|
||||
},
|
||||
PostProcessorRedirects: map[string]string{
|
||||
"amazon-import": "github.com/hashicorp/amazon",
|
||||
//"amazon-import": "github.com/hashicorp/amazon",
|
||||
|
||||
"docker-import": "github.com/hashicorp/docker",
|
||||
"docker-push": "github.com/hashicorp/docker",
|
||||
"docker-save": "github.com/hashicorp/docker",
|
||||
"docker-tag": "github.com/hashicorp/docker",
|
||||
//"docker-import": "github.com/hashicorp/docker",
|
||||
//"docker-push": "github.com/hashicorp/docker",
|
||||
//"docker-save": "github.com/hashicorp/docker",
|
||||
//"docker-tag": "github.com/hashicorp/docker",
|
||||
|
||||
"googlecompute-export": "github.com/hashicorp/googlecompute",
|
||||
"googlecompute-import": "github.com/hashicorp/googlecompute",
|
||||
//"googlecompute-export": "github.com/hashicorp/googlecompute",
|
||||
//"googlecompute-import": "github.com/hashicorp/googlecompute",
|
||||
|
||||
"exoscale-import": "github.com/exoscale/exoscale",
|
||||
//"exoscale-import": "github.com/exoscale/exoscale",
|
||||
|
||||
"vagrant": "github.com/hashicorp/vagrant",
|
||||
"vagrant-cloud": "github.com/hashicorp/vagrant",
|
||||
//"vagrant": "github.com/hashicorp/vagrant",
|
||||
//"vagrant-cloud": "github.com/hashicorp/vagrant",
|
||||
|
||||
"vsphere": "github.com/hashicorp/vsphere",
|
||||
"vsphere-template": "github.com/hashicorp/vsphere",
|
||||
//"vsphere": "github.com/hashicorp/vsphere",
|
||||
//"vsphere-template": "github.com/hashicorp/vsphere",
|
||||
},
|
||||
}
|
||||
if err := config.Plugins.Discover(); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue