From 2678508d427618c6d50f447f41689a1b31d72b86 Mon Sep 17 00:00:00 2001
From: Ryan Brown <sb@ryansb.com>
Date: Thu, 15 Feb 2018 10:51:16 -0500
Subject: [PATCH] [cloud] Fix inconsistent case of `Allocation_id` in NAT
 Gateway outputs (#36058)

---
 lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py
index b96ecbbb205..d4fd1f3b93e 100644
--- a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py
+++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py
@@ -684,7 +684,7 @@ def create(client, subnet_id, allocation_id, client_token=None,
         else:
             result = DRY_RUN_GATEWAYS[0]
             result['create_time'] = datetime.datetime.utcnow()
-            result['nat_gateway_addresses'][0]['Allocation_id'] = allocation_id
+            result['nat_gateway_addresses'][0]['allocation_id'] = allocation_id
             result['subnet_id'] = subnet_id
 
         success = True