← ClaudeAtlas

huaweicloud-clilisted

Use the correct Huawei Cloud CLI (hcloud) profile and region when running Huawei Cloud commands based on the target environment.
abdullahkhawer/devops-skills · ★ 7 · DevOps & Infrastructure · score 78
Install: claude install-skill abdullahkhawer/devops-skills
# Huawei Cloud CLI Skill When running `hcloud` commands, always pass the `--cli-profile` flag based on the target environment, and specify the region explicitly. ## Configuration Update the profile map below with your Huawei Cloud CLI profile names: | Environment | Profile | Default Region | |---|---|---| | Production | `<your-prod-profile>` | `<your-prod-region>` (e.g. `cn-north-4`) | | Staging / Non-Prod | `<your-nonprod-profile>` | `<your-nonprod-region>` (e.g. `ap-southeast-1`) | ### Prerequisites (one-time setup by user) If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself. ```bash brew install huaweicloud-cli hcloud configure set --cli-profile <your-profile-name> hcloud configure list ``` ## Command Format ```bash hcloud <service> <action> --cli-profile <profile> --cli-region <region> [options] ``` ### Examples ```bash # Production hcloud ECS ListServersDetails --cli-profile <your-prod-profile> --cli-region <your-prod-region> # Staging / Non-Prod hcloud ECS ListServersDetails --cli-profile <your-nonprod-profile> --cli-region <your-nonprod-region> ``` ## Available Commands ### Read-only (safe, no confirmation needed) | Command pattern | Description | |---|---| | `hcloud ECS ListServersDetails` | List ECS instances | | `hcloud ECS ShowServer` | Describe an ECS instance | | `hcloud RDS ListInstances` | List RDS database instances | | `hcloud CCE ListClu