1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Updates to version and requirements

This commit is contained in:
Mike Mochan 2016-05-08 14:07:21 +10:00 committed by Matt Clay
parent c1ccc831e8
commit 7acd9c0e34

View file

@ -19,7 +19,7 @@ short_description: create, delete, accept, and reject VPC peering connections be
description:
- Read the AWS documentation for VPC Peering Connections
U(http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html)
version_added: "2.1"
version_added: "2.2"
options:
vpc_id:
description:
@ -45,6 +45,7 @@ options:
choices: ['present', 'absent', 'accept', 'reject']
author: Mike Mochan(@mmochan)
extends_documentation_fragment: aws
requirements: [ botocore, boto3, json ]
'''
EXAMPLES = '''
@ -331,7 +332,7 @@ def main():
module = AnsibleModule(argument_spec=argument_spec)
if not HAS_BOTO3:
module.fail_json(msg='json and boto3 is required.')
module.fail_json(msg='json, botocore and boto3 are required.')
state = module.params.get('state').lower()
try:
region, ec2_url, aws_connect_kwargs = get_aws_connection_info(module, boto3=True)