← ClaudeAtlas

rudder-terraform-workflowlisted

Manages RudderStack resources via the terraform-provider-rudderstack. Use when configuring the provider, authoring HCL for sources, destinations, connections, running init/plan/apply, importing existing resources, or organizing multi-workspace Terraform modules.
rudderlabs/rudder-agent-skills · ★ 19 · AI & Automation · score 77
Install: claude install-skill rudderlabs/rudder-agent-skills
# RudderStack Terraform Workflow The [`rudderlabs/rudderstack`](https://github.com/rudderlabs/terraform-provider-rudderstack) Terraform provider manages a RudderStack workspace as infrastructure-as-code: sources, destinations, and connections. ## When to use The user is authoring HCL for RudderStack, running `terraform plan/apply` against a workspace, migrating from UI-managed to Terraform-managed resources, importing existing resources, or organizing multi-env setups. ## Preflight - [ ] Terraform ≥ 1.0 installed - [ ] Access token available as env var `RUDDERSTACK_ACCESS_TOKEN` (preferred) or in the provider block - [ ] Optional: override API base URL with `RUDDERSTACK_API_URL` (default: `https://api.rudderstack.com`) - [ ] Confirm with the user whether the target workspace is dev/staging/prod before any `terraform apply` ## Provider setup ```hcl terraform { required_providers { rudderstack = { source = "rudderlabs/rudderstack" version = "~> 4.4" } } } provider "rudderstack" { # access_token = "..." # or set RUDDERSTACK_ACCESS_TOKEN env var # api_url = "https://api.rudderstack.com" } ``` ## Resource catalog | Category | Count | Examples | |----------|-------|----------| | **Connection** | 1 | `rudderstack_connection` — links source to destination | | **Sources** | ~50 | SDK sources (JS, Android, iOS, Python, Go, etc.), webhooks, SaaS integrations | | **Destinations** | ~46 | Warehouses, analytics, marketing, ad p