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"}
│
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"}
│