Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using Providers

Providers can be added to your organization's registry from the public Terraform registry in the UI, or through the API for private providers.

Add a public provider in the UI

  1. Open Registry, click Search public registry, select the Providers tab and search. Official and partner providers are listed first.

  2. Select a result to open its provider page. It shows the tier, downloads, and a usage snippet pointing at your registry. The latest release is preselected; pick another version if you need one.

  3. Click Add to Terrakube.

The public provider page with the latest version preselected
A public provider page

If the provider is already in your registry, the button takes you to its page instead. Versions can later be deprecated or removed.

Add a provider with the API

Use the API for private providers or to script the import.

Lets add the random provider version 3.0.1 to terrakube, we can get the information that we need from the following endpoints:

Create the provider inside the organization:

Create the provider version

Create the provider implementation

You can change the URL from the above paramaters and use a URL that you control, I was using the terraform registry url for example purposes

Now in your terraform code you can have something like this:

And when running terraform init you will see something like:

Last updated

Was this helpful?