terraform
Terraform
Manage infrastructure as code using Terraform CLI.
Initialize
cd /workspace/infra && terraform init
Plan (preview changes)
cd /workspace/infra && terraform plan -no-color
Plan with specific target
cd /workspace/infra && terraform plan -target=aws_instance.web -no-color
Apply changes
cd /workspace/infra && terraform apply -auto-approve -no-color
Destroy
cd /workspace/infra && terraform destroy -auto-approve -no-color
Show state
cd /workspace/infra && terraform state list
cd /workspace/infra && terraform state show aws_instance.web
Output values
cd /workspace/infra && terraform output -json | jq .
Validate configuration
cd /workspace/infra && terraform validate -no-color
Format check
cd /workspace/infra && terraform fmt -check -recursive -no-color
Show providers
cd /workspace/infra && terraform providers
Workspace management
terraform workspace list
terraform workspace select staging
Import existing resource
cd /workspace/infra && terraform import aws_instance.web i-1234567890abcdef0
Notes
- Always run
terraform planbeforeapplyto review changes. - Use
-no-colorflag for clean output in non-terminal environments. - Never run
terraform destroywithout explicit user confirmation. - Use workspaces or separate state files for environment isolation.
- Backend configuration (S3, Azure Blob, GCS) should be set in terraform config, not CLI.
More from thinkfleetai/thinkfleet-engine
local-whisper
Local speech-to-text using OpenAI Whisper. Runs fully offline after model download. High quality transcription with multiple model sizes.
149flyio-cli-public
Use the Fly.io flyctl CLI for deploying and operating apps on Fly.io: deploys (local or remote builder), viewing status/logs, SSH/console, secrets/config, scaling, machines, volumes, and Fly Postgres (create/attach/manage databases). Use when asked to deploy to Fly.io, debug fly deploy/build/runtime failures, set up GitHub Actions deploys/previews, or safely manage Fly apps and Postgres.
24kagi-search
Web search using Kagi Search API. Use when you need to search the web for current information, facts, or references. Requires KAGI_API_KEY in the environment.
22feishu-bridge
Connect a Feishu (Lark) bot to ThinkFleet via WebSocket long-connection. No public server, domain, or ngrok required. Use when setting up Feishu/Lark as a messaging channel, troubleshooting the Feishu bridge, or managing the bridge service (start/stop/logs). Covers bot creation on Feishu Open Platform, credential setup, bridge startup, macOS launchd auto-restart, and group chat behavior tuning.
13bambu-local
Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C.
10video-subtitles
Generate SRT subtitles from video/audio with translation support. Transcribes Hebrew (ivrit.ai) and English (whisper), translates between languages, burns subtitles into video. Use for creating captions, transcripts, or hardcoded subtitles for WhatsApp/social media.
10