terraform/website/guides/terraform-provider-developm...

112 lines
8.5 KiB
Plaintext
Raw Normal View History

---
2021-11-23 00:47:36 +01:00
page_title: Terraform Provider Development Program
description: >-
This guide is intended for vendors who're interested in having their platform
supported by Terraform. The guide walks vendors through the steps involved in
creating a provider and applying for it to be included with Terraform.
---
# Terraform Provider Development Program
2020-08-10 16:09:10 +02:00
The Terraform Provider Development Program facilitates vendors in creating and publishing Terraform providers that have been officially approved and verified by HashiCorp. Once verified, the provider published under your organizations namespace will receive a distinct tier and badge that helps to distinguish it from community-sourced providers within the [Registry](https://registry.terraform.io).
2020-08-10 16:09:10 +02:00
The Verified badge helps users easily identify and discover integrations developed and maintained directly by an integrations vendor, establishing a level of trust for our users. This program is intended to be largely self-serve, with links to information sources, clearly defined steps, and checkpoints detailed below.
2021-11-23 00:47:36 +01:00
![Verified Provider Card](/img/docs/verified-card.png)
2021-11-23 00:47:36 +01:00
-> **Building your own provider?** If you're building your own provider and aren't interested in having HashiCorp officially verify and regularly monitor your provider, please refer to the [Call APIs with Terraform Providers](https://learn.hashicorp.com/collections/terraform/providers?utm_source=WEBSITEhttps://www.terraform.io/docs/extend/writing-custom-providers.htmlutm_medium=WEB_IOhttps://www.terraform.io/docs/extend/writing-custom-providers.htmlutm_offer=ARTICLE_PAGEhttps://www.terraform.io/docs/extend/writing-custom-providers.htmlutm_content=DOCS) collection on HashiCorp Learn and the [Extending Terraform](/plugin/) section of the documentation.
2020-08-10 16:09:10 +02:00
## What is a Terraform Provider?
2020-08-10 16:09:10 +02:00
Terraform is used to create, manage, and interact with infrastructure resources of any kind. Examples of resources include physical machines, VMs, network switches, containers, etc. Almost any infrastructure noun can be represented as a resource in Terraform.
2020-08-10 16:09:10 +02:00
A Terraform Provider represents an integration that is responsible for understanding API interactions with the underlying infrastructure, such as a public cloud service (AWS, GCP, Azure), a PaaS service (Heroku), a SaaS service (DNSimple, CloudFlare), or on-prem resources (vSphere). The Provider then exposes these as resources that Terraform users can interface with, from within Terraform a configuration. Terraform presently supports more than 70 providers, a number that has more than doubled in the past 12 months.
2020-08-10 16:09:10 +02:00
All providers integrate into and operate with Terraform exactly the same way. The table below is intended to help users understand who develops, and maintains a particular provider.
2021-11-23 00:47:36 +01:00
<ProviderTable />
2020-08-10 18:56:45 +02:00
<p></p>
2021-11-23 00:47:36 +01:00
-> **Note:** This document focuses on the "Verified" Tier in the table above. Community contributors interested in contributing to existing providers or building new providers should refer to the [Publishing a Provider](/registry/providers/publishing) section of our documentation.
2020-08-10 16:09:10 +02:00
## Provider Development Process
2020-08-10 16:09:10 +02:00
The provider development process is divided into five steps below. By following these steps, providers can be developed alongside HashiCorp to ensure new providers are able to be published in Terraform as quickly as possible.
2021-11-23 00:47:36 +01:00
![Provider Development Process](/img/docs/program-steps.png)
2020-08-10 16:09:10 +02:00
1. **Apply**: Initial contact between vendor and HashiCorp
2021-11-23 00:47:36 +01:00
1. **Prepare**: Follow documentation while developing the provider
1. **Verify**: Share public GPG key with HashiCorp
1. **Publish**: Release the provider on the Registry
1. **Support**: Ongoing maintenance and support of the provider by the vendor.
2020-08-10 16:09:10 +02:00
### 1. Apply
2021-11-23 00:47:36 +01:00
Please begin by completing our HashiCorp Technology Partner application: <https://www.hashicorp.com/ecosystem/become-a-partner/#technology>
2020-08-10 16:09:10 +02:00
Terraform has a large and active ecosystem of partners that may have already started working on the same provider. We'll do our best to connect similar parties to avoid duplicate efforts, and prepare for a successful and impactful launch of the integration. Once you have applied, a member of the HashiCorp Alliances team will be in touch, and will ask for your organization to sign our Technology Partner Agreement.
2020-08-10 16:09:10 +02:00
### 2. Prepare
2021-11-23 00:47:36 +01:00
Detailed instructions for preparing a provider for publishing are available in our Registry documentation. Please see [Preparing your Provider](/registry/providers/publishing#preparing-your-provider). In order to provide a consistent and quality experience for users, please make sure detailed documentation for your provider is included. You can find more information on how to build and structure [provider documentation here](/registry/providers/docs).
2020-08-10 16:09:10 +02:00
Weve found the provider development process to be fairly straightforward and simple when you pay close attention and follow the resources below. If you have not developed a provider before and are looking for some help in developing one, you may choose to leverage one of the following development agencies which have developed Terraform providers in the past and are familiar with the requirements and process:
2021-11-23 00:47:36 +01:00
| Partner | Email | Website |
| ------------------ | :-------------------------- | :-------------------------------------------------- |
| Crest Data Systems | <malhar@crestdatasys.com> | [www.crestdatasys.com](http://www.crestdatasys.com) |
| DigitalOnUs | <hashicorp@digitalonus.com> | [www.digitalonus.com](http://www.digitalonus.com) |
| Akava | <bd@akava.io> | [www.akava.io](http://www.akava.io) |
| OpenCredo | <hashicorp@opencredo.com> | [www.opencredo.com](http://www.opencredo.com) |
2020-08-10 16:09:10 +02:00
-> **Important:** All Terraform providers listed as Verified must contain one of the following open source licenses:
2020-08-10 18:56:45 +02:00
2020-08-10 16:09:10 +02:00
- CDDL 1.0, 2.0
- CPL 1.0
- Eclipse Public License (EPL) 1.0
- MPL 1.0, 1.1, 2.0
2020-08-10 18:56:45 +02:00
- PSL 2.0
2020-08-10 16:09:10 +02:00
- Ruby's Licensing
- AFL 2.1, 3.0
- Apache License 2.0
- Artistic License 1.0, 2.0
- Apache Software License (ASL) 1.1
- Boost Software License
- BSD, BSD 3-clause, "BSD-new"
- CC-BY
- Microsoft Public License (MS-PL)
- MIT
2020-08-10 16:09:10 +02:00
### 3. Verify
At this stage, it is expected that the provider is fully developed, all tests and documentation are in place, and your provider is ready for publishing. In this step, HashiCorp will verify the source and authenticity of the namespace being used to publish the provider by signing your GPG key with a trust signature.
2020-08-10 16:09:10 +02:00
-> **Important:** This step requires that you have signed and accepted our Technology Partner Agreement. If you have not received this, please see step #1 above.
2021-11-23 00:47:36 +01:00
Please send your public key to <terraform-registry@hashicorp.com>, indicating you are a partner seeking verification, and a HashiCorp employee will be in touch to help verify, and add your key.
2020-08-10 16:09:10 +02:00
To export your public key in ASCII-armor format, use the following command:
2020-08-10 16:09:10 +02:00
```
$ gpg --armor --export "{Key ID or email address}"
```
2020-08-10 16:09:10 +02:00
### 4. Publish
2021-11-23 00:47:36 +01:00
Once the verification step is complete please follow the steps on [Publishing a Provider](/registry/providers/publishing). This step does not require additional involvement from HashiCorp as publishing is a fully self-service process in the [Terraform Registry](https://registry.terraform.io).
Once completed, your provider should be visible in the Terraform Registry and usable in Terraform. Please confirm that everything looks good, and that documentation is rendering properly.
2020-08-10 16:09:10 +02:00
### 5. Maintain & Support
2019-05-01 22:40:50 +02:00
Getting a new provider built and published to the Terraform Registry is just the first step towards enabling your users with a quality Terraform integration. Once a `verified` provider has been published, on-going effort is required to maintain the provider. It is expected that all verified provider publishers will continue to maintain the provider and address any issues your users report in a timely manner. HashiCorp reserves the right to remove verified status from any provider this is no longer maintained.
2020-08-10 16:09:10 +02:00
The expectation is to resolve all critical issues within 48 hours and all other issues within 5 business days. HashiCorp Terraform has an extremely wide community of users and contributors and we encourage everyone to report issues however small, as well as help resolve them when possible.
2020-08-10 16:09:10 +02:00
Vendors who choose to not support their provider and prefer to make it a community supported provider will no longer be listed as Verified.
2020-08-10 16:09:10 +02:00
## Contact Us
For any questions or feedback please contact us at <terraform-provider-dev@hashicorp.com>.