huawei-cloud-terraform-installer
>-
Works with
--- name: huawei-cloud-terraform-installer description: >- license: MIT --- # 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.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 | 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 ```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
More DevOps & Infrastructure skills
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
appinsights-instrumentation
microsoft/azure-skills
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
azure-storage
microsoft/azure-skills
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

