Skip to content

cli: security-group create does not return ID #845

@robinschneider

Description

@robinschneider

Description

When creating a resource via cli I get an ID in (every?) case but not with security-group create
When creating a security group rule you need an ID of the security group.
Creating a security group rule does return an ID (also server create, public-ip create, network create, ...)

Steps to reproduce

  1. Run stackit security-group create --name demo --project-id <my-project-id> Are you sure you want to create the security group "demo"? [y/N] y Created security group "demo"

Actual behavior

stackit security-group create would return an ID as well after creation.

Created security group "demo"

Expected behavior

stackit security-group create would return an ID as well after creation.

Created security group "demo".
Security group ID: 211b6869-53e4-43b8-8ca5-69e780d74b54

Environment

  • OS: macOS
  • Version of STACKIT CLI (see stackit --version): 0.36.0
  • Output is set to pretty

Additional information

Feel free to add any additional information here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions