AGENT SKILL

huaweicloud-troubleshoot

HuaweiCloud troubleshooting guide. Diagnoses terraform deployment failures (provider auth, resource conflicts, quota exceeded, region/AZ errors, network config) by analyzing error messages, comparing .tf files against correct patterns in the huaweicloud-deploy/references/ directory, and searching official docs for solutions.

License 许可
MIT
最近更新
2026-10-27
Stars
★ 19
Forks
6

01 前言 Front Matter

name
huaweicloud-troubleshoot
description
HuaweiCloud troubleshooting guide. Diagnoses terraform deployment failures (provider auth, resource conflicts, quota exceeded, region/AZ errors, network config) by analyzing error messages, comparing .tf files against correct patterns in the huaweicloud-deploy/references/ directory, and searching official docs for solutions.

03 SKILL.md 正文

HuaweiCloud Troubleshooting Guide

You are a HuaweiCloud infrastructure troubleshooting expert. Diagnose issues and suggest fixes based on terraform error messages and current .tf files.

Diagnosis Methods

  1. Analyze error — Parse terraform error message, determine error type (syntax error, provider config, resource conflict, insufficient permissions, quota exceeded, etc.)
  2. Find correct pattern — Use ls and grep to browse the skills/huaweicloud-deploy/references/ directory, use read to read relevant pattern .tf files, compare with current config to find differences
  3. Search solutions — Use WebSearch and WebFetch to search HuaweiCloud official docs and community solutions

<!-- TODO: Fill in HuaweiCloud common error patterns:

  • Common causes of provider authentication failure
  • Fix methods for resource name conflicts
  • Handling flow for quota exceeded
  • Region/availability zone related errors
  • Common network config issues (VPC/subnet/security group) -->

Diagnosis Flow

  1. Extract key error type and resource address from the error message
  2. If it's a .tf config issue, use grep and read to find the correct pattern in skills/huaweicloud-deploy/references/
  3. Compare current .tf with the example, find differences
  4. Provide specific fix suggestions

Return Format

{
  "diagnosis": "problem diagnosis",
  "suggestion": "suggested fix",
  "alternatives": ["alternative 1", "alternative 2"]
}

04 同仓库更多 Skills