<% @profiles.each do |profile, options| %> [profile <%= profile %>] region = <%= options.fetch('region', 'us-east-1') %> output = <%= options.fetch('output', 'text') %> <% end %>