fixing status option in documentation (#53785)

changing status option to statuses in the documentation

Adding choices to the argument spec to match the documentation from AWS.
Adding 'REVOKED', 'FAILED' to statuses documentation to match implementation.

Removing E322, E323 ignores for aws_acm_facts
pull/54196/head
Ben Carter 6 years ago committed by Alicia Cozine
parent 6f77dbf66f
commit f99f88b034

@ -18,11 +18,10 @@ options:
- The domain name of an ACM certificate to limit the search to
aliases:
- name
status:
statuses:
description:
- Status to filter the certificate results
choices: ['PENDING_VALIDATION', 'ISSUED', 'INACTIVE', 'EXPIRED', 'VALIDATION_TIMED_OUT']
choices: ['PENDING_VALIDATION', 'ISSUED', 'INACTIVE', 'EXPIRED', 'VALIDATION_TIMED_OUT', 'REVOKED', 'FAILED']
requirements:
- boto3
author:
@ -311,7 +310,7 @@ def main():
argument_spec.update(
dict(
domain_name=dict(aliases=['name']),
statuses=dict(type='list'),
statuses=dict(type='list', choices=['PENDING_VALIDATION', 'ISSUED', 'INACTIVE', 'EXPIRED', 'VALIDATION_TIMED_OUT', 'REVOKED', 'FAILED']),
)
)
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)

@ -1,7 +1,5 @@
lib/ansible/modules/cloud/amazon/_ec2_ami_find.py E322
lib/ansible/modules/cloud/amazon/_ec2_ami_find.py E323
lib/ansible/modules/cloud/amazon/aws_acm_facts.py E322
lib/ansible/modules/cloud/amazon/aws_acm_facts.py E323
lib/ansible/modules/cloud/amazon/aws_api_gateway.py E322
lib/ansible/modules/cloud/amazon/aws_application_scaling_policy.py E322
lib/ansible/modules/cloud/amazon/aws_application_scaling_policy.py E326

Loading…
Cancel
Save