Skip to content

scw create does not support full images UUID  #534

@djalal

Description

@djalal

When creating new servers, CLI expect an IMAGE parameter.

It works using short UUIDs or names, e.g 574a0d52

However it will fail with the full length UUID, e.g 574a0d52-bef4-42cf-b4b4-5a9c3163e68a

Error Message

FATA[0001] cannot execute 'create': StatusCode: 404, Type: unknown_resource, APIMessage: "574a0d52-bef4-42cf-b4b4-5a9c3163e68a" not found

How to reproduce

scw create --volume="" --name="foobar" --commercial-type="START1-M" $(scw images -f "name=xenial type=image" -q | tail -n1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    instanceInstance issues, bugs and feature requestsv1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions