> For the complete documentation index, see [llms.txt](https://docs.cloudtruth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudtruth.com/product/terraform.md).

# Terraform

Manage the inputs and outputs for Terraform, CloudFormation, Pulumi, AWS CDK or any other Infrastructure as Code tools.

## Generate Perfect Config for IaC

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2FEV5aKCQkKRFI6ZqWlYUv%2Fimage.png?alt=media&amp;token=193ec962-af24-49e3-9c54-3e64191dae9c" alt=""><figcaption></figcaption></figure>

### Master your input variables.

One of the most challenging DevOps tasks is getting config and secrets "just right" for every component in your system.

Whether that's config for infrastructure or applications, generating a consistently perfect config file is a real challenge.&#x20;

This video uses CloudTruth to simplify deploying to dynamic AWS environments.

{% embed url="<https://youtu.be/Yrd8oXP6yVs>" %}

### Create templated .tfvars for all environments.

Manage Terraform variables from a rich UI or CLI.

Inject .tfvars at deploy time to increase release velocity.&#x20;

{% embed url="<https://youtu.be/ZNs6oQWG8cI>" %}

### Get up and running quickly with the Terraform provider.

Provision CloudTruth with the [open-source Terraform Provider](https://github.com/cloudtruth/terraform-provider-cloudtruth).

<figure><img src="https://2952342643-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGjN2Xg1mE8iTvg49dw%2Fuploads%2F7UXBA1f6unkD7oateqEc%2Fimage.png?alt=media&amp;token=95a20ece-aa16-4493-9ded-51f02cce3a9f" alt=""><figcaption><p><a href="https://github.com/cloudtruth/terraform-provider-cloudtruth">https://github.com/cloudtruth/terraform-provider-cloudtruth</a></p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cloudtruth.com/product/terraform.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
