You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Populate role ARN from stack outputs on NoChangeError in pod identity update (#8717)
fix: populate role ARN from stack outputs on NoChangeError
IAMRoleUpdater.Update returns an empty roleArn to the caller when
CFN has nothing to update and the config uses roleName (no roleARN).
Pull the ARN from the existing stack outputs instead.
logger.Info("IAM resources for %s (pod identity association ID: %s) are already up-to-date", podIdentityAssociation.NameString(), podIdentityAssociationID)
55
+
iferr:=populateRoleARN(rs, stack); err!=nil {
56
+
return"", false, err
57
+
}
55
58
returnpodIdentityAssociation.RoleARN, false, nil
56
59
}
57
60
return"", false, fmt.Errorf("updating IAM resources for pod identity association: %w", err)
0 commit comments