allow specifying instance profile to attach