From 9a303f1628bb82049457683716044a8f35b85957 Mon Sep 17 00:00:00 2001 From: Mike Mochan Date: Sun, 8 May 2016 14:07:21 +1000 Subject: [PATCH] Updates to version and requirements --- cloud/amazon/ec2_vpc_peer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/amazon/ec2_vpc_peer.py b/cloud/amazon/ec2_vpc_peer.py index a534b7973b7..b8160d4676e 100644 --- a/cloud/amazon/ec2_vpc_peer.py +++ b/cloud/amazon/ec2_vpc_peer.py @@ -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)