

It acts as if the folder it says to place the plugin, and where it's looking are mismatched, but I doubt something like that would have made it to release, so I'm at a loss as to why it's not seeing the plugin.

Note that the finished container image also adds git, make and the AWS CLI as I also require those tools in the CI jobs that uses this container. Unzip -d terraform-bundle terraform_*.zipĬOPY -from=terraform-bundler-build /go/terraform-bundle/* /usr/local/bin/ RUN terraform-bundle package terraform-bundle.hcl & \ src//hashicorp/terraform/tools/terraform-bundle As Terraform uses plugins for required providers, you can pre-installed them in a. I run Terraform in our CI pipeline in a Docker container so have a Dockerfile that looks something like this: FROM golang:alpine AS terraform-bundler-build Alien4Cloud and the Alien4Cloud Yorc Plugin (see their dedicated. It's also possible to build a bundle of every provider you need automatically using the terraform-bundle tool. You can use pre-installed plugins by either putting the plugins in the same directory as the terraform binary or by setting the -plugin-dir flag. Is there any way we could bypass this by downloading the plugins from Hashicorp's servers and copying them onto the control server? Or any other alternative to avoid trying to download things from Hashicorp's servers? For some obvious reasons, we will have to adjust with this connectivity issue as there are some SSL and firewall issues between the control server and Hashicorp's servers. I realized it's because of connectivity issues with domain. If automatic installation is not possible or desirable in yourĮnvironment, you may alternatively manually install plugins byĭownloading a suitable distribution package and placing the plugin'sĮxecutable file in the following directory: The repository may be unreachable if access is This may be caused if for some reason Terraform is unable to reach the However, when attempting toĭownload this plugin an unexpected error occured.

Terraform analyses the configuration and state and automaticallyĭownloads plugins for the providers used. – Checking for available provider plugins on …Įrror installing provider "template": Getġ72.25.77.25:53742->151.101.13.183:443: read: connection reset by peer. While running terraform init when using Terraform 0.11.3 we are getting the following error:
