we need to pass the snapshot parameter only to ec2 providers