feat(iaas): support for v2 API (#1070)

relates to STACKITTPR-313
This commit is contained in:
Ruben Hönle 2025-12-17 15:40:46 +01:00 committed by GitHub
parent 460c18c202
commit 53a3697850
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
124 changed files with 8342 additions and 6042 deletions

View file

@ -121,7 +121,7 @@ func TestAccServerUpdateScheduleMinResource(t *testing.T) {
resource.TestCheckResourceAttrSet("data.stackit_server_update_schedules.schedules_data_test", "id"),
),
},
// // Import
// Import
{
ConfigVariables: testConfigVarsMin,
ResourceName: "stackit_server_update_schedule.test_schedule",
@ -139,7 +139,7 @@ func TestAccServerUpdateScheduleMinResource(t *testing.T) {
ImportState: true,
ImportStateVerify: true,
},
// // Update
// Update
{
ConfigVariables: configVarsMinUpdated(),
Config: testutil.ServerUpdateProviderConfig() + "\n" + resourceMinConfig,
@ -209,7 +209,7 @@ func TestAccServerUpdateScheduleMaxResource(t *testing.T) {
resource.TestCheckResourceAttrSet("data.stackit_server_update_schedules.schedules_data_test", "id"),
),
},
// // Import
// Import
{
ConfigVariables: testConfigVarsMax,
ResourceName: "stackit_server_update_schedule.test_schedule",
@ -227,7 +227,7 @@ func TestAccServerUpdateScheduleMaxResource(t *testing.T) {
ImportState: true,
ImportStateVerify: true,
},
// // Update
// Update
{
ConfigVariables: configVarsMaxUpdated(),
Config: testutil.ServerUpdateProviderConfig() + "\n" + resourceMaxConfig,