From ab396a45a0ae06989c2dac1a502c8fab1ddb44aa Mon Sep 17 00:00:00 2001 From: Joel Armstrong Date: Fri, 25 Aug 2023 11:02:40 -0400 Subject: [PATCH] fix(IAMInstanceProfileRole): Fix instance profile role glob filtering (#982) Co-authored-by: Philipp Trulson --- resources/iam-instance-profile-roles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/iam-instance-profile-roles.go b/resources/iam-instance-profile-roles.go index 4033423e..fe119b1d 100644 --- a/resources/iam-instance-profile-roles.go +++ b/resources/iam-instance-profile-roles.go @@ -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 {