Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

terraform-tfvars

Skill by mock-server

Creates the terraform.tfvars file for the Buildkite build agent Terraform stack on AWS. It covers retrieving and checking the agent token from AWS SSM and the Buildkite UI, then deploying with run.sh.

  • Score 81
  • 5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install terraform-tfvars

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mock-server/mockserver-monorepo /tmp/mockserver-monorepo && mkdir -p ~/.claude/skills && cp -r /tmp/mockserver-monorepo/.opencode/skills/terraform-tfvars ~/.claude/skills/terraform-tfvars

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install terraform-tfvars in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The terraform-tfvars skill creates the terraform.tfvars file for the Buildkite build agent Terraform stack in terraform/buildkite-agents/. It explains how to get the Buildkite agent token from AWS SSM Parameter Store and from the Buildkite UI using Chrome DevTools MCP, then compare the two values. The file is copied from terraform.tfvars.example and sets buildkite_agent_token.

The skill also covers a check that min_size is 0 for scale-to-zero cost control, the run.sh apply deploy step, and post-deploy checks such as reading the ASG name from terraform output. It is for engineers who deploy Buildkite agents to AWS, especially when recreating terraform.tfvars after a fresh checkout. The token file is gitignored and must never be committed.

Written from the project's SKILL.md and checked against it.

What it can do

  • Retrieve token from SSMReads the Buildkite agent token from AWS SSM Parameter Store in us-east-1 as the authoritative source.
  • Retrieve token from Buildkite UIUses Chrome DevTools MCP to navigate to the Buildkite agents page and extract the agent token.
  • Validate tokensCompares the SSM and Buildkite UI tokens and says which to use if they differ or SSM fails.
  • Create terraform.tfvarsCopies terraform.tfvars.example to terraform.tfvars and sets buildkite_agent_token.
  • Enforce min_size of 0Checks that min_size is 0 so agents do not run 24/7 and add unnecessary cost.
  • Deploy with run.shDescribes running ./run.sh apply, which handles SSO checks, proxy settings, init and apply.
  • Verify deploymentLists checks such as terraform output for the ASG name and confirming an agent picks up a build.

What you need

  • AWS CLI with an active SSO session for the mockserver-build profile
  • Chrome DevTools MCP configured with --autoConnect
  • Buildkite organization admin access to view agent tokens

Try asking

  • Create terraform.tfvars for the Buildkite agent stack
  • Retrieve the Buildkite agent token from SSM and compare it with the Buildkite UI
  • Check that min_size is 0 in my Buildkite terraform.tfvars

Good to know

  • terraform.tfvars is gitignored and must never be committed
  • min_size must always be 0 according to the source
  • The SSM token is read from the us-east-1 region
  • Chrome patterns are referenced from a separate browser-auth skill

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .opencode/skills/terraform-tfvars/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to terraform-tfvars

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

terraform-tfvars: common questions

Where does the Buildkite agent token come from?

The skill reads it from AWS SSM Parameter Store at /buildkite/buildkite/agent-token in us-east-1, which the source calls authoritative. It can also be taken from the Buildkite agents page.

What should I do if the SSM and Buildkite UI tokens differ?

The source says the SSM token is authoritative because agents use it in production. It also says to confirm which token is linked to the default queue.

Is the terraform.tfvars file safe to commit?

No. The source says the file is gitignored through terraform/**/*.tfvars and must never be committed or have the token written to logs.

How do I install terraform-tfvars?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is terraform-tfvars free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is terraform-tfvars safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to terraform-tfvars?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

terraform-tfvars Install

Add to stack

Loading.