iam_cert: Make 'name' a required option to match the documentation (#65558)

Without it we'd always throw a boto error
This commit is contained in:
Mark Chappell 2019-12-09 10:23:53 +01:00 committed by Abhijit Menon-Sen
parent cf3f1b9d3f
commit 4919d5658a
3 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- iam_cert - make `name` a required field.

View file

@ -245,7 +245,7 @@ def main():
argument_spec = ec2_argument_spec()
argument_spec.update(dict(
state=dict(required=True, choices=['present', 'absent']),
name=dict(),
name=dict(required=True),
cert=dict(),
key=dict(no_log=True),
cert_chain=dict(),

View file

@ -492,7 +492,6 @@ lib/ansible/modules/cloud/alicloud/ali_instance.py validate-modules:parameter-ty
lib/ansible/modules/cloud/alicloud/ali_instance_info.py validate-modules:doc-missing-type
lib/ansible/modules/cloud/alicloud/ali_instance_info.py validate-modules:doc-required-mismatch
lib/ansible/modules/cloud/alicloud/ali_instance_info.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/cloud/amazon/iam_cert.py validate-modules:doc-required-mismatch
lib/ansible/modules/cloud/amazon/iam_policy.py validate-modules:doc-required-mismatch
lib/ansible/modules/cloud/atomic/atomic_container.py validate-modules:doc-missing-type
lib/ansible/modules/cloud/atomic/atomic_container.py validate-modules:doc-required-mismatch