-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanity test fixups for AWS ec2 modules #64230
Conversation
@tremble, just so you are aware we have a dedicated Working Group for aws. |
The test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
…parsing the args Boto would through a type exception if the string couldn't be converted to an int.
It's defined in ec2_argument_spec and ec2 doc fragment
…_start and sort_end into arg parser
The test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed the merged, adding these comments so I don't lose them in an unsaved review while I'm working on it and will open a new PR for them.
ebs: | ||
description: Parameters used to automatically set up EBS volumes when the instance is launched. | ||
description: Parameters used to automatically set up EBS volumes when the instance is launchedself |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Parameters used to automatically set up EBS volumes when the instance is launchedself | |
description: Parameters used to automatically set up EBS volumes when the instance is launched |
matches the tag_value | ||
default: 'no' | ||
- Supplements I(tag_name) but also checks that the value of the tag provided in I(tag_name) matches I(tag_value). | ||
matches the I(tag_value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matches the I(tag_value) |
You didn't add this, but this sentence fragment doesn't seem to belong here. Would you mind cleaning it up?
credit_specification: | ||
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances only. | ||
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances onlyself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances onlyself. | |
description: The credit option for CPU usage of the instance. Valid for T2 or T3 instances only |
instance_type: | ||
description: > | ||
The instance type, such as I(c5.2xlarge). For a full list of instance types, see | ||
The instance type, such as C(c5.2xlarge). For a full list of instance types, see | ||
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html | |
U(http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) |
ipv6_addresses: | ||
description: > | ||
A list of one or more specific IPv6 addresses from the IPv6 CIDR | ||
block range of your subnet. You can't use this option if you're | ||
specifying the I(ipv6_address_count) option. | ||
type: list | ||
elements: int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elements: int | |
elements: str |
choices: ['default', 'dedicated'] | ||
associate_public_ip_address: | ||
description: | ||
- The I(wait_timeout) option does nothing and will be removed in Ansible 2.14. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The I(wait_timeout) option does nothing and will be removed in Ansible 2.14. | |
- The I(associate_public_ip_address) option does nothing and will be removed in Ansible 2.14. |
Cleanup some typos that were missed in ansible#64230
* ec2_* Sanity corrections Cleanup some typos that were missed in #64230 * Update lib/ansible/modules/cloud/amazon/ec2_launch_template.py Co-Authored-By: Felix Fontein <felix@fontein.de>
SUMMARY
Sanity test fixups for AWS ec2 modules
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION