Skip to content

service deploy --marketplace-code silently fails without creating a service #202

@Raymondhou0917

Description

@Raymondhou0917

Bug Description

Running service deploy --marketplace-code postgresql produces no output and no error, but also creates no service.

Steps to Reproduce

npx zeabur@latest service deploy \
  --project-id <project-id> \
  --marketplace-code "postgresql" \
  -i=false --json

Expected: A PostgreSQL marketplace service is created in the project
Actual: Command exits silently with no output and no service created

Also tried with --name "postgresql" — same result.

Suggested Fix

  1. If --template flag is required alongside --marketplace-code, the CLI should output a clear error message
  2. If the marketplace code doesn't match any available item, the CLI should list available codes
  3. The non-interactive path should have the same validation as the interactive path

Workaround

Use template deploy -f <yaml> with a PREBUILT template YAML instead of service deploy --marketplace-code.

Environment

  • CLI version: 0.14.0
  • OS: macOS (Apple Silicon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions