Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
fix(IAMInstanceProfileRole): Fix instance profile role glob filtering (
Browse files Browse the repository at this point in the history
…#982)

Co-authored-by: Philipp Trulson <der-eismann@users.noreply.github.com>
  • Loading branch information
jrarmstro and der-eismann authored Aug 25, 2023
1 parent c0b549d commit ab396a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/iam-instance-profile-roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (e *IAMInstanceProfileRole) Remove() error {
}

func (e *IAMInstanceProfileRole) String() string {
return fmt.Sprintf("%s -> %s", *e.profile.InstanceProfileName, e.role)
return fmt.Sprintf("%s -> %s", *e.profile.InstanceProfileName, *e.role.RoleName)
}

func (e *IAMInstanceProfileRole) Properties() types.Properties {
Expand Down

0 comments on commit ab396a4

Please sign in to comment.