(#10983) Only capture outputs for first 8 agents
(#10983) Only capture outputs for first 8 agents

There is a cfn limit on max 10 outputs. The code
was previously created an output per agent, imposing a
limit on the total number of agents supported to be 8.

This patch only captures output for the first 8 agents.

puppetlabs/puppetlabs-cloudformation,puppetlabs/puppetlabs-cloudformation