编程

huawei-cloud-terraform-installer

试用

Installs Terraform CLI cross-platform with Huawei Cloud mirror support. Use this skill whenever the user mentions installing Terraform, setting up Terraform...

它能做什么

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.

技能文档

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

# 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

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

[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

相关技能

Generate Huawei Cloud Terraform configurations and execute deployment with user-guided approval. Use this skill when users want to create Huawei Cloud infras...

1 次安装

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.

作者 huaweiclouddev-dev

Provides guidance for Huawei Cloud KooCLI command-line tool operations. Covers KooCLI installation, IAM authentication configuration, access credential confi...

作者 huaweicloud-skills-team1 次安装

Terraform (hashicorp.com). Use this skill for ANY Terraform request — searching and reading data. Whenever a task involves Terraform, use this skill instead...

1 次安装

"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.

4 次安装

huaweicloud-skills-team 的更多技能

浏览全部技能

用自然语言控制华为昇腾 NPU,本地或 SSH 远程执行 npu-smi 命令。

作者 huaweicloud-skills-team7 次安装

在华为云昇腾 910B DevServer 上按单机或双机(16 卡)拓扑部署并测试 LLM、VL、Embedding、Rerank 模型。

作者 huaweicloud-skills-team7 次安装

面向华为云资源的只读查询能力,用于资源清点、核对与参数发现。

作者 huaweicloud-skills-team6 次安装

通过本地 Python SDK 只读查询华为云 IAM 资源(用户、用户组、策略、委托、AK/SK、MFA、安全设置)。

作者 huaweicloud-skills-team6 次安装