
Outputs:
  AutoScalingGroupName:
    Value: { Ref: AgentAutoScaleGroup }
  InstanceRoleName:
    Value: { Ref: InstanceRoleName }


Outputs:
  AutoScalingGroupName:
    Value: { Ref: AgentAutoScaleGroup }
  InstanceRoleName:
    Value: !GetAtt IAMRole.RoleName

Set InstanceRoleName output from IAMRole resource
Set InstanceRoleName output from IAMRole resource

If the `InstanceRoleName` parameter (optional) is unset, the
CloudFormation stack generates a name for you based on the stack name.

This commit updates the output to extract the name from the resource
directly which accounts for both cases, and should be more reliable
going forward.
