Updates to version and requirements

This commit is contained in:
Mike Mochan 2016-05-08 14:07:21 +10:00 committed by Toshio Kuratomi
parent 2934495efc
commit 9a303f1628

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)