mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-20 20:00:23 -07:00
spotinst_aws_elasticgroup: sanity checks (#5553)
* spotinst_aws_elastigroup: add elements to parameter do_not_update * spotinst_aws_elastigroup: add docs for parameter token * add missing docs * add changelog fragment * Update plugins/modules/spotinst_aws_elastigroup.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
9874462abb
commit
270dc133b3
7 changed files with 28 additions and 17 deletions
|
@ -35,6 +35,13 @@ options:
|
|||
By default this is retrieved from the credentials path.
|
||||
type: str
|
||||
|
||||
token:
|
||||
description:
|
||||
- A Personal API Access Token issued by Spotinst.
|
||||
- >-
|
||||
When not specified, the module will try to obtain it, in that order, from: environment variable C(SPOTINST_TOKEN), or from the credentials path.
|
||||
type: str
|
||||
|
||||
availability_vs_cost:
|
||||
description:
|
||||
- The strategy orientation.
|
||||
|
@ -507,8 +514,25 @@ options:
|
|||
description:
|
||||
- TODO document.
|
||||
type: list
|
||||
elements: str
|
||||
default: []
|
||||
|
||||
multai_token:
|
||||
description:
|
||||
- Token used for Multai configuration.
|
||||
type: str
|
||||
|
||||
multai_load_balancers:
|
||||
description:
|
||||
- Configuration parameters for Multai load balancers.
|
||||
type: list
|
||||
elements: dict
|
||||
|
||||
elastic_beanstalk:
|
||||
description:
|
||||
- Placeholder parameter for future implementation of Elastic Beanstalk configurations.
|
||||
type: dict
|
||||
|
||||
'''
|
||||
EXAMPLES = '''
|
||||
# Basic configuration YAML example
|
||||
|
@ -1455,7 +1479,7 @@ def main():
|
|||
block_device_mappings=dict(type='list', elements='dict'),
|
||||
chef=dict(type='dict'),
|
||||
credentials_path=dict(type='path', default="~/.spotinst/credentials"),
|
||||
do_not_update=dict(default=[], type='list'),
|
||||
do_not_update=dict(default=[], type='list', elements='str'),
|
||||
down_scaling_policies=dict(type='list', elements='dict'),
|
||||
draining_timeout=dict(type='int'),
|
||||
ebs_optimized=dict(type='bool'),
|
||||
|
@ -1479,7 +1503,7 @@ def main():
|
|||
mesosphere=dict(type='dict'),
|
||||
min_size=dict(type='int', required=True),
|
||||
monitoring=dict(type='str'),
|
||||
multai_load_balancers=dict(type='list'),
|
||||
multai_load_balancers=dict(type='list', elements='dict'),
|
||||
multai_token=dict(type='str', no_log=True),
|
||||
name=dict(type='str', required=True),
|
||||
network_interfaces=dict(type='list', elements='dict'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue