For AI-powered Terraform queries, use the ask command with the --terraform flag:
# Query Terraform stateclanker ask --terraform "What resources are in the dev workspace?"# Check for driftclanker ask --terraform "Are there any changes between state and actual infrastructure?"# Get outputsclanker ask --terraform "What are the outputs from the prod workspace?"# Plan analysisclanker ask --terraform "What would happen if I apply this plan?"
When using --terraform, Clanker uses the default workspace unless you specify otherwise in your query:
# Uses default workspace (dev)clanker ask --terraform "Show current state"# Specify workspace in the queryclanker ask --terraform "Show state from prod workspace"