Updates to version and requirements
This commit is contained in:
parent
c1ccc831e8
commit
7acd9c0e34
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue