huaweicloud_sandbox_upload_project
Package a local project directory and upload it to a sandbox workspace via HTTP tunnel. Falls back to base64 chunking if tunnel fails. Creates a tar.gz archive, uploads it, and extracts it on the sandbox by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | Patterns to exclude from archive (default: .git, node_modules, __pycache__, .venv) | |
| extract | No | Extract tar.gz on sandbox after upload (default: true) | |
| username | No | Login username (default: root) | |
| local_dir | Yes | Local project directory to upload. | |
| remote_dir | No | Remote parent directory where project will be extracted (default: /workspace). Final layout: <remote_dir>/<dirname>/ | |
| timeout_ms | No | Execution timeout in milliseconds (default: 300000) | |
| workspace_id | No | Workspace ID from huaweicloud_sandbox_connect return value. Required - must be passed explicitly when HW_WORKSPACE_ID is not set. |