Terraform Stacks
OfficialAutomates HashiCorp Terraform stack deployments, managing infrastructure as code across diverse cloud environments.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add hashicorp/agent-skills --skill terraform-stacks -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
hashicorp
Matched to the vendor's own GitHub organisation.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: app.terraform.io.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
app.terraform.ioundeclaredWhat it found
- plugins/terraform/skills/terraform-stacks/references/troubleshooting.md:543contacts app.terraform.io
curl "https://app.terraform.io/api/v2/stack-deployment-steps/{step-id}/stack-diagnostics" - plugins/terraform/skills/terraform-stacks/references/troubleshooting.md:556contacts app.terraform.io
curl "https://app.terraform.io/api/v2/stack-deployment-steps/{step-id}/stack-diagnostics?stack_deployment_step_id={step-id}"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned hashicorp/agent-skills at f706481af9.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- f706481af9
- Scanned
- 7 files, 3,935 lines
About this skill
What it does
The terraform-stacks skill enables AI agents to manage infrastructure as code using Terraform, allowing them to provision, modify, and destroy cloud resources across multiple providers. It supports defining and deploying complex infrastructure configurations through declarative configuration files.
When to use it
- Automating the deployment of cloud resources such as virtual machines, databases, or networking components.
- Managing multi-cloud environments with consistent infrastructure definitions.
- Streamlining CI/CD pipelines by integrating Terraform into automated workflows for infrastructure changes.
Key capabilities
- Declarative infrastructure management using Terraform configuration files (
.tf). - Support for multiple cloud providers including AWS, Azure, and Google Cloud.
- State management to track resource provisioning status across environments.
Example prompts
- "Provision a new EC2 instance on AWS with a public IP address."
- "Create a VPC and subnet structure in Azure using Terraform."
- "Destroy all resources defined in the current Terraform configuration."
Tips & gotchas
- Ensure that your AI agent has access to the necessary cloud provider credentials for authentication.
- Use
terraform initbefore applying changes to initialize the working directory with providers and modules.