From 9296779999e666e67ecea6f1d82a3ea7c5959050 Mon Sep 17 00:00:00 2001 From: Shawn Falkner-Horine Date: Mon, 8 Sep 2014 17:02:37 -0700 Subject: [PATCH] Network Interfaces: Initial implementation. (fixed ElasticAddress cloudformation 'associate_address' call) --- moto/ec2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 5245fb098..6ad98be7e 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -1515,7 +1515,7 @@ class ElasticAddress(object): instance_id = properties.get('InstanceId') if instance_id: instance = ec2_backend.get_instance_by_id(instance_id) - ec2_backend.associate_address(instance, eip.public_ip) + ec2_backend.associate_address(instance, address=eip.public_ip) return eip