* [ec2-ami] Use required_if with state parameter * Update failure msg on delete ami with no image_id task in integration test