bugfix(serverbackup): state drift in volume-id because of changed order (#979)
* fix: state drift in backup-properties.volume-id because of changed order in API response --------- Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> Co-authored-by: Marcel Jacek <Marcel.Jacek@stackit.cloud>
This commit is contained in:
parent
7c1920f55e
commit
822b9fc6b4
4 changed files with 32 additions and 8 deletions
|
|
@ -90,7 +90,7 @@ func TestAccServerUpdateScheduleMinResource(t *testing.T) {
|
|||
// Creation
|
||||
{
|
||||
ConfigVariables: testConfigVarsMin,
|
||||
Config: resourceMinConfig,
|
||||
Config: testutil.ServerUpdateProviderConfig() + "\n" + resourceMinConfig,
|
||||
Check: resource.ComposeAggregateTestCheckFunc(
|
||||
// Update schedule data
|
||||
resource.TestCheckResourceAttr("stackit_server_update_schedule.test_schedule", "project_id", testutil.ConvertConfigVariable(testConfigVarsMin["project_id"])),
|
||||
|
|
@ -177,7 +177,7 @@ func TestAccServerUpdateScheduleMaxResource(t *testing.T) {
|
|||
// Creation
|
||||
{
|
||||
ConfigVariables: testConfigVarsMax,
|
||||
Config: resourceMaxConfig,
|
||||
Config: testutil.ServerUpdateProviderConfig() + "\n" + resourceMaxConfig,
|
||||
Check: resource.ComposeAggregateTestCheckFunc(
|
||||
// Update schedule data
|
||||
resource.TestCheckResourceAttr("stackit_server_update_schedule.test_schedule", "project_id", testutil.ConvertConfigVariable(testConfigVarsMax["project_id"])),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue