add boto3_tag_list_to_ansible_dict to ec2_vpc_peering_facts.py, and parameter checking to ec2_vpc_peer.py (#52307)

* add boto3_tag_list_to_ansible_dict to ec2_vpc_peering_facts.py

* Add parameter checking to ec2_vpc_peer and give helpful error message

* Fixed modules --> module typo in ec2_vpc_peer

* Added required_if logic and fixed incorrect boolean check for absent peering connection

* Changed error message to one of the following is

* Added changelog fragments for ec2_vpc_peer changes

* Changed changelog fragment as per request
This commit is contained in:
Brandon Bui
2019-02-27 01:19:34 -05:00
committed by Will Thames
parent 861446b2a6
commit 1aae196cfa
4 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- Added parameter checking before the module attempts to do an action to give helpful error message

View File

@@ -0,0 +1,2 @@
minor_changes:
- Changed output of tags dictionary in results to standard Ansible format