Terraform v0.11.10
Currently, there is no method for bringing in 3rd party provisioners the same way as providers. terraform init will not discover 3rd party provisioners are will not initialize them. Additionally, it is not possible to specify neither version, nor the architecture in the plugin's file name, as it is the case for providers.
The issue was discovered while releasing the Ansible provisioner:
Support provisioners to the same extent as providers. terraform init should be able to discover used provisioners and should install them in the same way.
Hi @radekg,
We don't have any current plans to do this but the most likely way this gets resolved is to implement #2756, at which point provisioners won't be a separate kind of plugin at all and all of the existing mechanisms for dealing with providers will automatically apply to provisioners.
For now, the way to use third-party provisioners is to download their executable releases and install them manually into one of the plugin search directories, such as ~/.terraform.d/plugins/ followed by your platform, such as linux_amd64.
@apparentlymart any news on this?
or exist a workaround?
Most helpful comment
Hi @radekg,
We don't have any current plans to do this but the most likely way this gets resolved is to implement #2756, at which point provisioners won't be a separate kind of plugin at all and all of the existing mechanisms for dealing with providers will automatically apply to provisioners.
For now, the way to use third-party provisioners is to download their executable releases and install them manually into one of the plugin search directories, such as
~/.terraform.d/plugins/followed by your platform, such aslinux_amd64.