# Terraform

[Terraform](https://www.terraform.io/) 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

1. Navigate to the pf9 provider page here: <https://registry.terraform.io/providers/platform9/pf9>
2. From the versions tab, select your desired version.
3. Select "Use Provider" in the upper right-hand, copy/paste the provided code snippet into your main.tf file.

Example:

{% tabs %}
{% tab title="Bash" %}

```bash
terraform { required_providers { pf9 = { source = "platform9/pf9" version = "0.1.4" } } } provider "pf9" { # Configuration options }
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Platform9 Learn**

For more examples, visit [https://platform9.com/learn/terraform](https://platform9.com/learn/tutorials/get-started-terraform)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform9.com/managed-kubernetes/5.10/terraform.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
