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

* fix(deps): update stackit sdk modules

* fix(authorization): adjustments related to sdk version bump

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
This commit is contained in:
stackit-pipeline 2025-04-01 16:41:12 +02:00 committed by GitHub
parent 297a8a6f88
commit 3c3fcfd8ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 59 additions and 59 deletions

View file

@ -258,7 +258,7 @@ func (r *roleAssignmentResource) Delete(ctx context.Context, req resource.Delete
payload := authorization.RemoveMembersPayload{
ResourceType: &r.apiName,
Members: &[]authorization.Member{
*authorization.NewMember(model.Role.ValueStringPointer(), model.Subject.ValueStringPointer()),
*authorization.NewMember(model.Role.ValueString(), model.Subject.ValueString()),
},
}
@ -353,7 +353,7 @@ func (r *roleAssignmentResource) toCreatePayload(model *Model) (*authorization.A
return &authorization.AddMembersPayload{
ResourceType: &r.apiName,
Members: &[]authorization.Member{
*authorization.NewMember(model.Role.ValueStringPointer(), model.Subject.ValueStringPointer()),
*authorization.NewMember(model.Role.ValueString(), model.Subject.ValueString()),
},
}, nil
}