Terraform
The KraftCloud provider for Terraform allows unikernel instances to be managed on KraftCloud using HashiCorp Terraform.
Quick Start
To use the KraftCloud provider in a Terraform module, start by declaring a provider requirement for the
kraftcloud
provider inside a terraform
block:
Next, run terraform init
to initialize the workspace and download the kraftcloud
provider from the Terraform
Registry.
You can then configure the kraftcloud
provider as outlined in its documentation, and declare the unikernel
instances that should be run on KraftCloud using the resources exposed by the provider:
Finally, run terraform apply
to apply the configuration and run the described KraftCloud instance(s).
External References
Refer to the provider’s documentation on the Terraform Registry for a comprehensive guide about the usage of the provider, as well as the resources and data sources it exposes.