Generate Huawei Cloud Terraform configurations and execute deployment with user-guided approval. Use this skill when users want to create Huawei Cloud infras...
Coding
huawei-cloud-terraform-installer
Try itInstalls Terraform CLI cross-platform with Huawei Cloud mirror support. Use this skill whenever the user mentions installing Terraform, setting up Terraform...
What it does
Installs Terraform CLI cross-platform with Huawei Cloud mirror support. Use this skill whenever the user mentions installing Terraform, setting up Terraform environment, or when IaC tasks detect missing Terraform. Trigger: install terraform, setup terraform, terraform environment, huaweicloud provider.
The skill document
Huawei Cloud Terraform Installer
Cross-platform Terraform CLI installation with Huawei Cloud mirror by default (avoids GitHub network issues).
Prerequisites
- Python 3.6+ (required for installation script)
- Network access to:
releases.hashicorp.com(Terraform binary)mirrors.huaweicloud.com(HuaweiCloud Provider)
Platform Support
| Platform | Method | Notes |
|---|---|---|
| Linux | Binary | Direct binary download |
| Windows | Binary | Direct download |
Why use binary download only?
- Simpler and more reliable across all platforms
- No dependency on package manager availability
- Consistent behavior for troubleshooting
Note: macOS is not currently supported.
Windows Special Notes
Provider installation method:
- Use
filesystem_mirror(local file mirror) - Download zip from Huawei Cloud mirror, extract to local
- Configure
terraform.rcto point to local directory
Unsupported methods:
- ❌
direct(Registry → GitHub): GitHub timeout - ❌
network_mirror: Huawei Cloud mirror directory structure incompatible
Quick Start
Basic Installation
# Auto-install (default to Huawei Cloud mirror)
python scripts/install_terraform.py
# Install + Initialize
python scripts/install_terraform.py --init
# Install + Test
python scripts/install_terraform.py --test
Specify Version
# Install specific version
python scripts/install_terraform.py --version 1.15.4
Other Operations
# Check status only
python scripts/install_terraform.py --check
# Uninstall
python scripts/install_terraform.py --uninstall
Mirror Strategy
| Resource | Source | Notes |
|---|---|---|
| Terraform binary | HashiCorp Releases | Official source |
| Provider | Huawei Cloud Mirror (default) | Avoid GitHub network issues |
Huawei Cloud Mirror: https://mirrors.huaweicloud.com/terraform/
Troubleshooting
Issue 1: Windows PATH Not Effective
Solution: Reopen terminal (PowerShell/CMD)
Issue 2: Permission Denied
[ERROR] Permission denied, please run with administrator privileges
Solution:
- Windows: Right-click → Run as administrator
- Linux:
sudo python3 install_terraform.py
Issue 3: Network Timeout
Solution: Default uses Huawei Cloud mirror, should not encounter this issue
Related skills
Queries Huawei Cloud billing and fee details only when Terraform needs a billing or pricing inquiry. Covers balances, bills, coupons, cash coupons, stored-value cards, orders, refunds, costs, free resources, resource usage, enterprise accounts, and on-demand/period/ELB/NAT/DCS pricing. No write operations. Use this skill only when Terraform requires billing details, invoice/bill summaries, coupon or balance status, refund/order billing status, or pricing inquiry. Triggers: Terraform 账单查询, Terraform 费用查询, Terraform 价格询价, Terraform 询价, Terraform billing query, Terraform pricing inquiry, Terraform price quote, Terraform bill summary.
Provides guidance for Huawei Cloud KooCLI command-line tool operations. Covers KooCLI installation, IAM authentication configuration, access credential confi...
Terraform (hashicorp.com). Use this skill for ANY Terraform request — searching and reading data. Whenever a task involves Terraform, use this skill instead...
"Deploy Dify - an open-source LLM app development platform on Huawei Cloud with ECS via Terraform. Use when the user wants to deploy Dify (or an LLM application development platform) on Huawei Cloud and directly implement it with a Terraform/SAC template. Trigger: Dify 一键部署, Dify development, Agentic workflow, build AI App"
Generate Huawei Cloud pre-order price estimates, safely provision allowlisted resources via hcloud, and guide unsubscribe requests to the console only. Use this skill whenever the user mentions 华为云/Huawei Cloud/hcloud with 报价/询价/价格/quote/pricing/budget, 开通/购买/创建/provision/create, or 退订/unsubscribe. Create requires runtime help, --dryrun, fee review, and confirmation. Never run or emit unsubscribe CLI/API. Refuse other clouds, credentials, payment/renewal/delete, and non-allowlisted writes.
More from huaweicloud-skills-team
Browse all skillsManage Huawei Ascend NPUs with natural language commands that translate to npu-smi, locally or over SSH.
Deploy and test LLM, VL, Embedding, and Rerank models on Huawei Cloud Ascend 910B DevServer with single- or dual-node topologies.
Read-only queries against Huawei Cloud resources for inventory, verification, and parameter discovery.
Query Huawei Cloud IAM resources (users, groups, policies, agencies, AK/SK, MFA, security settings) read-only via local Python SDK.
Deploy the OpenClaw AI Agent platform on Huawei Cloud Flexus L Instance and configure models and channels via COC.
One-click deploy Hermes AI Agent platform on Huawei Cloud Flexus L instances with model and channel configuration.