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

# Terraform

## Overview

You can manage parts of your Panther log source infrastructure using [Terraform](https://www.terraform.io/). Terraform allows you to define and provision your infrastructure through code, making it easy to manage and track changes across your project's lifecycle. [Panther is a provider](https://registry.terraform.io/providers/panther-labs/panther/latest) in the Terraform registry.

Learn how to use Terraform to provision Panther resources on the following pages:

* [Managing AWS Cloud Accounts with Terraform](/panther-developer-workflows/terraform/cloud-accounts.md)
* [Managing AWS S3 Log Sources with Terraform](/panther-developer-workflows/terraform/s3.md)
* [Managing HTTP Log Sources with Terraform](/panther-developer-workflows/terraform/http.md)
* [Managing Google Cloud Pub/Sub Log Sources with Terraform](/panther-developer-workflows/terraform/pubsub.md)
* [Managing Google Cloud Storage Log Sources with Terraform](/panther-developer-workflows/terraform/gcs.md)
* [Managing Log Source Alarms with Terraform](/panther-developer-workflows/terraform/log-source-alarms.md)

## Resources

* Learn more about Terraform [on their website](https://www.terraform.io/).
* See [Panther's page in the Terraform provider registry](https://registry.terraform.io/providers/panther-labs/panther/latest).


---

# 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 dynamically by asking a question.

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

```
GET https://docs.panther.com/panther-developer-workflows/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.
