Skip to content

Commit

Permalink
Merge pull request #27 from spreadshirt/fix-key-deletion
Browse files Browse the repository at this point in the history
Fix removing keys by specifying the key type explicitly
  • Loading branch information
heyLu authored Nov 14, 2023
2 parents 82584bf + 2512e33 commit df3a9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/key_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ func (r *keyResource) Delete(ctx context.Context, req resource.DeleteRequest, re
UID: state.User.ValueString(),
SubUser: state.Subuser.ValueString(),
AccessKey: state.AccessKey.ValueString(),
KeyType: "s3",
})
if err != nil {
resp.Diagnostics.AddError(
Expand Down

0 comments on commit df3a9fb

Please sign in to comment.