Skip to content

Commit

Permalink
fix(oss): fixed ram role generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushi Sharma committed Mar 7, 2025
1 parent 8762570 commit 5e53d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/providers/oss/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ func getRAMRole(g domain.Grant) (string, error) {
if err != nil {
return "", err
}
return fmt.Sprintf("acs:ram::%s:role/guardian.bot", resourceAccountID), nil
return fmt.Sprintf("acs:ram::%s:role/guardian-bot", resourceAccountID), nil
}

func getAccountIDFromResource(resource *domain.Resource) (string, error) {
Expand Down

0 comments on commit 5e53d5c

Please sign in to comment.