huaweicloud/huaweicloud-skills

huawei-cloud-terraform-installer

- Installs Terraform CLI cross-platform with Huawei Cloud mirror support.

View source
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

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

PlatformMethodNotes
LinuxBinaryDirect binary download
WindowsBinaryDirect 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.rc to point to local directory

Unsupported methods:

  • direct (Registry → GitHub): GitHub timeout
  • network_mirror: Huawei Cloud mirror directory structure incompatible

Quick Start

Basic Installation

bash
# 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

bash
# Install specific version
python scripts/install_terraform.py --version 1.15.4

Other Operations

bash
# Check status only
python scripts/install_terraform.py --check

# Uninstall
python scripts/install_terraform.py --uninstall

Mirror Strategy

ResourceSourceNotes
Terraform binaryHashiCorp ReleasesOfficial source
ProviderHuawei 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

text
[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

from this repository

More skills

All skills
huaweicloud
Community

huawei-cloud-billing-scout

Huawei Cloud BSS billing (not AWS/Azure/other clouds; refuses pricing quotes, real-name review, and any non-billing scope): balance, spend, attribution, reconciliation, coupons, stored-value cards, enterprise/partner billing. One-page briefing via hcloud. Use only when the user explicitly mentions 华为云 / Huawei Cloud / BSS and 余额/账单/对账/资源包/代金券/储值卡/企业或伙伴账务; refuses pay, renew, refund, delete.

installs
242
GitHub stars
20
Updated
Aug 31
huaweicloud
Community

huawei-cloud-cci-instance-management

Huawei Cloud CCI Container Instance Lifecycle Management Overview Manage Huawei Cloud CCI (Cloud Container Instance) full lifecycle using hcloud CLI (KooCLI). CCI is a serverless container service — no cluster management needed, just create a Namespace, define a Network, then deploy workloads directly. Architecture : hcloud CLI → CCI OpenAPI → Namespace / Network / Deployment / StatefulSet / Pod / EIPPool / Service / Ingress Constraints and Rules Security Rules Two step confirmation : All destructive operations (delete Namespace/Network/Deployment/StatefulSet/Pod/EIPPool) require explicit user confirmation — preview command, resource details, and risk warning first; execute only after user confirms. Credential security : Never expose AK/SK values in conversation, commands, or output. Only use hcloud configure list to check credential status (presence only). Prefer profile mode or environ

installs
242
GitHub stars
20
Updated
Aug 31
huaweicloud
Community

huawei-cloud-computing-query

Queries Huawei Cloud computing resources (ECS/BMS/IMS/AS), Covers ECS instances, flavors, keypairs, quotas, server groups, block devices, NICs, VNC console, BMS bare metal servers/flavors/quotas, IMS images/OS versions/members/quotas, and AS scaling groups/configs/policies/activity logs/lifecycle hooks/warm pools/quotas. No write operations. Use this skill when the user needs to query ECS instance details, list flavors, check BMS availability, browse images, or view auto-scaling group/policy status. Triggers: 弹性云服务器, ECS, 裸金属, BMS, 镜像, IMS, 弹性伸缩, AS, 伸缩组, 伸缩策略, 规格查询, flavor, instance, image, scaling.

installs
242
GitHub stars
20
Updated
Aug 31
huaweicloud
Community

huawei-cloud-find-skills

Invoke this skill to search, discover, browse, find and install any Huawei Cloud (华为云) agent skill.Triggers include: "华为云","华为云有什么skill","华为云相关skill","华为云agent skill 市场","华为云skill类目","explore Huawei Cloud skills","show Huawei Cloud skill categories","does a Huawei Cloud skill exist for...","which Huawei Cloud skills exist","搜索华为云技能","有没有管理ECS/OBS/RDS的skill","帮我找 XX 华为云skill","介绍 XX Skill 内容","华为云 XX Skill 具体做什么","安装华为云Skill".

installs
242
GitHub stars
20
Updated
Aug 31