Skip to content

STACKIT Server without Network Interfaces #1501

@tim-szostakowski-rewion

Description

@tim-szostakowski-rewion

Description

When using the https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/resources/server Resource block, it should be possible to create a server without Network interfaces in order to make use of
https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/resources/server_network_interface_attach
and
https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/resources/network_interface

properly. Otherwise you get an error:
│ Error: Error creating server

│ with stackit_server.this["vm9"],
│ on resources.vm.tf line 1, in resource "stackit_server" "this":
│ 1: resource "stackit_server" "this" {

│ Calling API: 400 Bad Request, status code 400, Body: {"code":400,"msg":"request body has an error: doesn't match schema #/components/schemas/v2CreateServer: doesn't match
│ schema due to: Error at "/networking": input matches more than one oneOf schemas And Error at "/networking": input matches more than one oneOf schemas"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions