why loop here?  It's seems simpler to just have multiple `machine_tag <tag>` lines. For example:

```
machine_tag "application:active=true"
machine_tag "application:active_#{new_resource.application_name}=true"
machine_tag "application:bind_port_#{new_resource.application_name}=new_resource.bind_port"
...
```