rudder-terraform-setuplisted
Install: claude install-skill rudderlabs/rudder-agent-skills
# RudderStack Terraform Setup
Install Terraform (if missing), configure the RudderStack provider, and verify setup.
## Setup Workflow
```
1. Check Terraform ──► terraform version
│
├── Found ──► Skip to Provider Setup
│
└── Not Found ──► Guide Installation
│
2. Configure Provider ◄─────────────┘
│
└── Add required_providers block
3. Initialize ──► terraform init
│
└── Downloads provider from registry
4. Configure Auth ──► Check RUDDERSTACK_ACCESS_TOKEN
│
└── Verify with terraform plan
```
## Step 1: Check Terraform Installation
```bash
terraform version
```
**If found:** Shows version. Skip to Step 2.
**If not found:** Install Terraform.
### Install Terraform
#### macOS (Homebrew)
```bash
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
```
#### Linux (apt)
```bash
# Add HashiCorp GPG key
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
# Add repository
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
# Install
sudo apt update && sudo apt install terraform
```
#### Alternative: tfenv (Version Manager)
```bash
# macOS
brew install tfenv
# Then install Terraform
tfenv install latest
tfenv use latest
```
#### Verify Instal