From 4b59c6b90730a080d10699cb25575f5e5f7316d1 Mon Sep 17 00:00:00 2001 From: earthmant Date: Mon, 23 Nov 2015 15:16:46 +0200 Subject: [PATCH] Support Associate Network ACL add the new_association_id property to NetworkACL object so that the template render for replace adds the ID and the associate_network_acl receives a response --- moto/ec2/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 446561d33..098e86328 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -2597,6 +2597,7 @@ class NetworkAclAssociation(object): subnet_id, network_acl_id): self.ec2_backend = ec2_backend self.id = new_association_id + self.new_association_id = new_association_id self.subnet_id = subnet_id self.network_acl_id = network_acl_id super(NetworkAclAssociation, self).__init__()