Since type has only one item encapsulated in it, I'd recommend making this more idiomatic:

&stepCreateAMI{b.config.ec2Tags}