Update ec2.py

fixing naming issue