fix(deps): update stackit sdk modules (#846)

* fix(deps): update stackit sdk modules

* feat: Use new generated enums

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
This commit is contained in:
stackit-pipeline 2025-05-19 09:56:41 +02:00 committed by GitHub
parent 5d844a84d6
commit 7ce802769c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 222 additions and 225 deletions

View file

@ -474,12 +474,12 @@ func testAccCheckLogMeDestroy(s *terraform.State) error {
}
func checkInstanceDeleteSuccess(i *logme.Instance) bool {
if *i.LastOperation.Type != wait.InstanceOperationTypeDelete {
if *i.LastOperation.Type != logme.INSTANCELASTOPERATIONTYPE_DELETE {
return false
}
if *i.LastOperation.Type == wait.InstanceOperationTypeDelete {
if *i.LastOperation.State != wait.InstanceOperationStateSucceeded {
if *i.LastOperation.Type == logme.INSTANCELASTOPERATIONTYPE_DELETE {
if *i.LastOperation.State != logme.INSTANCELASTOPERATIONSTATE_SUCCEEDED {
return false
} else if strings.Contains(*i.LastOperation.Description, "DeleteFailed") || strings.Contains(*i.LastOperation.Description, "failed") {
return false