Overview
In case the built-in drivers do not meet your requirements, you can write your own custom Driver. Before writing a custom Driver, it is recommended to reach out to Humanitec support, as they may already have a solution for you. However, if you still need a custom Driver, you can learn how to write your own custom Driver using the API specification.
When creating a Driver, you will need to consider three elements:
- how to provision the resources
- how to store the provisioned resource’s state
- how to handle the resource accounts needed to provision the resources
Drivers should be simple and isolated, meaning they should be responsible for managing precisely one resource type per endpoint, and the resources created should not interfere with each other.
Before writing a Custom Driver, we recommend reaching out, as we most likely already have a solution.
Humanitec is continuously improving the API specification for custom drivers. As a result, the current API specification will soon be deprecated.