huawei-cloud-terraform-installer
huaweicloud/huaweicloud-skills · 15.8k installs · 52 stars
Skill
Marked Credentials Unsafe · External Downloads · Command Execution · Remote Code Execution
Install
npx -y skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-terraform-installer --agent claude-codeRun in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.
Files
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
Facts
- Kind
- Skill
- Repo
- huaweicloud/huaweicloud-skills
- Group
- Uncategorized
- Installs
- 15.8k
- Stars
- 52
- 1find-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.3.8M
- 2grill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.3M
- 3grill-with-docsmattpocock/skillsA relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.1.1M
- 4agent-browservercel-labs/agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.1.1M
- 5improve-codebase-architecturemattpocock/skillsScan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.1.1M
- 6tddmattpocock/skillsTest-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.1.1M