Ensure IAM role existence is checked before continuing