ec2 fix vm config passing