added aws_access_key and aws_secret_key aliases to ec2_group arguments
This commit is contained in:
parent
8a516d1479
commit
bdc8ea828e
1 changed files with 4 additions and 4 deletions
|
@ -42,13 +42,13 @@ options:
|
||||||
- EC2 secret key
|
- EC2 secret key
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: ['aws_secret_key']
|
||||||
ec2_access_key:
|
ec2_access_key:
|
||||||
description:
|
description:
|
||||||
- EC2 access key
|
- EC2 access key
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: ['aws_access_key']
|
||||||
state:
|
state:
|
||||||
version_added: "1.4"
|
version_added: "1.4"
|
||||||
description:
|
description:
|
||||||
|
@ -110,8 +110,8 @@ def main():
|
||||||
vpc_id=dict(),
|
vpc_id=dict(),
|
||||||
rules=dict(),
|
rules=dict(),
|
||||||
ec2_url=dict(aliases=['EC2_URL']),
|
ec2_url=dict(aliases=['EC2_URL']),
|
||||||
ec2_secret_key=dict(aliases=['EC2_SECRET_KEY'], no_log=True),
|
ec2_secret_key=dict(aliases=['EC2_SECRET_KEY', 'aws_secret_key'], no_log=True),
|
||||||
ec2_access_key=dict(aliases=['EC2_ACCESS_KEY']),
|
ec2_access_key=dict(aliases=['EC2_ACCESS_KEY', 'aws_access_key']),
|
||||||
region=dict(choices=['eu-west-1', 'sa-east-1', 'us-east-1', 'ap-northeast-1', 'us-west-2', 'us-west-1', 'ap-southeast-1', 'ap-southeast-2']),
|
region=dict(choices=['eu-west-1', 'sa-east-1', 'us-east-1', 'ap-northeast-1', 'us-west-2', 'us-west-1', 'ap-southeast-1', 'ap-southeast-2']),
|
||||||
state = dict(default='present', choices=['present', 'absent']),
|
state = dict(default='present', choices=['present', 'absent']),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue