Skip to content

Commit ab396a4

Browse files
fix(IAMInstanceProfileRole): Fix instance profile role glob filtering (#982)
Co-authored-by: Philipp Trulson <[email protected]>
1 parent c0b549d commit ab396a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/iam-instance-profile-roles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (e *IAMInstanceProfileRole) Remove() error {
7474
}
7575

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

8080
func (e *IAMInstanceProfileRole) Properties() types.Properties {

0 commit comments

Comments
 (0)