provider-template | A template for building @ crossplane providers | Infrastructure Automation library
kandi X-RAY | provider-template Summary
kandi X-RAY | provider-template Summary
A template for building @crossplane providers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- main runs the CLI parser .
- Connect returns a new external client
- Setup sets up all setup functions .
- init registers the required types .
- AddToScheme adds the scheme to the scheme .
provider-template Key Features
provider-template Examples and Code Snippets
Community Discussions
Trending Discussions on provider-template
QUESTION
While running terraform init
when using Terraform 0.11.3
we are getting the following error:
Initializing provider plugins... - Checking for available provider plugins on https://releases.hashicorp.com...
Error installing provider "template": Get https://releases.hashicorp.com/terraform-provider-template/: read tcp 172.25.77.25:53742->151.101.13.183:443: read: connection reset by peer.
Terraform analyses the configuration and state and automatically downloads plugins for the providers used. However, when attempting to download this plugin an unexpected error occured.
This may be caused if for some reason Terraform is unable to reach the plugin repository. The repository may be unreachable if access is blocked by a firewall.
If automatic installation is not possible or desirable in your environment, you may alternatively manually install plugins by downloading a suitable distribution package and placing the plugin's executable file in the following directory: terraform.d/plugins/linux_amd64
I realized it's because of connectivity issues with https://releases.hashicorp.com domain. 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.
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?
...ANSWER
Answered 2019-Feb-27 at 14:20You 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.
It's also possible to build a bundle of every provider you need automatically using the terraform-bundle
tool.
I run Terraform in our CI pipeline in a Docker container so have a Dockerfile that looks something like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install provider-template
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page