# Outpost in Terraform

Published 25 November 2026 · Platform

Outpost support & drift detection

Version 3.1.0 of the Hookdeck Terraform provider adds the `hookdeck_outpost_project` resource and data source, so you can create Outpost projects and manage their configuration alongside your Event Gateway resources.

The release also reads Event Gateway source and destination `config` back from Hookdeck, so changes made in the dashboard show up in your plan.

**Outpost projects**

```terraform
resource "hookdeck_outpost_project" "deliveries" {
  name = "customer-deliveries"

  config = {
    TOPICS                 = "order.created,order.updated"
    RETRY_INTERVAL_SECONDS = "60"
    MAX_RETRY_LIMIT        = "8"
  }
}

```

Configuration keys are the Outpost environment variable names, so topics, retries, portal branding and observability settings all live in your Terraform code and go through review like everything else. Values you want hidden from plan output go in `sensitive_config`. Tenants and destinations stay with your application, which creates them through the Outpost API.

**Event Gateway source and destination drift detection**

When someone edits an Event Gateway source or destination's config in the dashboard, the next plan shows it and the next apply restores what's in your code. Only the keys you set are compared.

**Before you upgrade**

3.1.0 changes what happens when you remove a config key or leave a connection's `rules` unset, and 3.0.x can't read state once 3.1.0 has run. The [release notes](https://github.com/hookdeck/terraform-provider-hookdeck/releases/tag/v3.1.0) cover these and the bug fixes in this release.