Skip to main content
skill CX Codex

alibabacloud-terraform-code-generation — Claude Code skill

alibabacloud-terraform-code-generation generates validated Terraform HCL for Alibaba Cloud from natural language prompts. Helps set up VPCs, compute instances, and storage without digging through provider docs.

no license 110 installs ★ 300 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-terraform-code-generation -a claude-code
Open on GitHub

What alibabacloud-terraform-code-generation does

The skill translates cloud infrastructure requests into Terraform configurations for the aliyun/alicloud provider. It expands high-level specs into full dependency trees, including VPCs, VSwitches, and security groups. Instead of relying on training memory, it retrieves resource definitions directly from the provider repository on GitHub during the run.

Internet access is required. Without a network connection, the agent cannot pull schema files and falls back to a local catalog. The workflow explicitly blocks terraform apply. Users must inspect the planned changes and execute deployment manually.

Credentials never touch the agent. It will not ask for or output AK/SK tokens in code or logs. The provider handles authentication directly through RAM roles or system variables. Terraform 1.5 or newer is recommended for validation checks.

What it helps with

  • generate Terraform HCL configurations for Alibaba Cloud
  • map resource dependencies for VPCs, subnets, and firewalls
  • validate resource attributes against current provider schemas
  • keep cloud credentials out of HCL files and agent logs

Example prompts for the agent

  • Write Terraform HCL for a VPC and two ECS instances in cn-hangzhou
  • Generate Alibaba Cloud Terraform configuration for an ApsaraDB RDS instance
  • Create Terraform resources for an OSS bucket and an ALB load balancer

How to install alibabacloud-terraform-code-generation

1Skills CLI (Vercel)

npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-terraform-code-generation -a claude-code

2Manually: put the files in place

~/.claude/skills/alibabacloud-terraform-code-generation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/alibabacloud-terraform-code-generation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about alibabacloud-terraform-code-generation

How to install alibabacloud-terraform-code-generation in Claude Code?

Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-terraform-code-generation -a claude-code in your terminal.

What does this skill do?

It turns infrastructure descriptions into valid Terraform code for Alibaba Cloud. The skill inspects official provider docs in real time to ensure parameter accuracy.

Does this skill run terraform apply?

No, the skill is strictly barred from running terraform apply. It formats code and validates syntax, leaving actual provisioning to the user.

Similar skills

All skills for Cloud: AWS, Azure, GCP →
terraform-skill Anton Babenko Guides Terraform and OpenTofu refactoring, state migrations, and CI workflows. Diagnoses risks like identity churn and blast radius before generating HCL. CX Codex +1 8,200installs terraform-stacks hashicorp Guides AI coding assistants through HashiCorp Terraform Stacks syntax, component definitions, and multi-environment deployment configs. CX Codex +1 5,900installs terraform-infrastructure manutej terraform-infrastructure guides the AI agent in writing HashiCorp Configuration Language code for AWS, Azure, and GCP, covering reusable modules, variable validation, and multi-environment state. CX Codex +1 439installs terraform-engineer https://github.com/Jeffallan terraform-engineer — a skill for writing and managing infrastructure with Terraform. Designs reusable modules, configures remote state, validates code, and safely applies changes across AWS, Azure, and GCP. CX Codex +1 5,800installs iac-terraform-data-engineering reason-machines iac-terraform-data-engineering is a Claude Code skill for provisioning AWS infrastructure with Terraform. It activates for requests about data-platform resources, infrastructure state, or data-pipeline setup. CX Codex +1 1,800installs terraform-data-engineering-iac reason-machines terraform-data-engineering-iac — a skill for Claude Code, Codex, Cursor and other agents that covers Terraform fundamentals for data engineering: provisioning S3 buckets, EC2 instances and IAM policies on AWS. CX Codex +1 1,800installs

From the same set66

The whole set →
alibabacloud-maxcompute-migration-service alibabacloud-maxcompute-migration-service orchestrates data migration to Alibaba Cloud MaxCompute via MMS. Handles metadata scanning, schema mapping, and Spark execution monitoring. CX Codex +1 127installs alibabacloud-elasticsearch-instance-diagnose alibabacloud-elasticsearch-instance-diagnose — a skill for analyzing Elasticsearch cluster health on Alibaba Cloud. Collects data from OpenAPI and REST API, identifies root causes of failures, and suggests remediation steps. CX Codex +1 127installs alibabacloud-avatar-video alibabacloud-avatar-video is a Claude Code skill for creating talking-head videos, full-body animations, and speech via Alibaba Cloud DashScope. It supports portrait animation, character motion, and text-to-speech with voice selection. CX Codex +1 125installs alibabacloud-emas-apm-query alibabacloud-emas-apm-query investigates mobile app issues in Alibaba Cloud EMAS APM, then matches sample stacks to project code to suggest fixes. CX Codex +1 112installs alibabacloud-agentbay-aio-skills alibabacloud-agentbay-aio-skills executes Python, JavaScript, R, and Java code in an isolated AgentBay cloud sandbox instead of your local machine. Useful for data analysis and plotting. CX Codex +1 112installs alibabacloud-sas-multiaccount-manage The alibabacloud-sas-multiaccount-manage Claude Code skill manages Alibaba Cloud accounts and exports Security Center reports. It combines enabled accounts’ results into an Excel workbook. CX Codex +1 112installs alibabacloud-sls-data-agent alibabacloud-sls-data-agent — a skill for Claude Code connects SLS DataAgent to Alibaba Cloud Simple Log Service. Turns plain-language queries into log analysis, aggregations, and dashboard summaries. CX Codex +1 111installs alibabacloud-flink-sql-skill alibabacloud-flink-sql-skill — a Claude Code skill for Alibaba Cloud Flink SQL work, from query checks to job operations. It activates for requests about Flink, VVR, VVP, or troubleshooting. CX Codex +1 104installs

Project sponsors

Companies that keep this analytics open