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:
Mauritz Uphoff 2025-09-03 10:58:01 +02:00 committed by GitHub
parent 7c1920f55e
commit 822b9fc6b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 32 additions and 8 deletions

View file

@ -379,11 +379,13 @@ func ServerBackupProviderConfig() string {
return `
provider "stackit" {
default_region = "eu01"
enable_beta_resources = true
}`
}
return fmt.Sprintf(`
provider "stackit" {
server_backup_custom_endpoint = "%s"
enable_beta_resources = true
}`,
ServerBackupCustomEndpoint,
)