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:
parent
cf3f1b9d3f
commit
4919d5658a
3 changed files with 3 additions and 2 deletions
2
changelogs/fragments/65558-iam_cert-require-name.yml
Normal file
2
changelogs/fragments/65558-iam_cert-require-name.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- iam_cert - make `name` a required field.
|
|
@ -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(),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue