summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Brown <sb@ryansb.com>2018-02-15 10:51:16 -0500
committerGitHub <noreply@github.com>2018-02-15 10:51:16 -0500
commit2678508d427618c6d50f447f41689a1b31d72b86 (patch)
tree9e5a79c2ad120a70f6ceb8535912679e819e4491
parentb3ce13625659421a6791e91a67ce980b5c375ec6 (diff)
downloadansible-2678508d427618c6d50f447f41689a1b31d72b86.tar.gz
[cloud] Fix inconsistent case of `Allocation_id` in NAT Gateway outputs (#36058)
-rw-r--r--lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway.py2
1 files changed, 1 insertions, 1 deletions
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 b96ecbbb20..d4fd1f3b93 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