v1.0
Managed Kubernetes
K8s Basics
PMK Onboarding
Networking / Ingress
Storage
Data Services
Troubleshooting

Terraform

Konform: Terraform provider for PMK

Terraform is widely regarded by the industry as a leader in the “infrastructure-as-code” space. With konform, we now enable customers to create and manage their PMK clusters with terraform, allowing them to integrate this with other components that they may already be managing with terraform, like AWS, openstack, etc.

Getting Started

Navigate to the pf9 provider page here: https://registry.terraform.io/providers/platform9/pf9

From the versions tab, select your desired version.

Select "Use Provider" in the upper right-hand, copy/paste the provided code snippet into your main.tf.

Example:

Bash
Copy

Run terraform init to initalize the plugin.

Usage

Konform requires you to source access credentials to the Platform9 Saas Management Plane(DU) before running terraform. Please create and source an environment file with the following fields set:

Bash
Copy

Cluster configuration options are then added to the terraform script and run.

A sample terraform script is in main.tf for your reference.

For a full overview of Konform view GitHub Repository

  Last updated