1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[cloud] Default encrypted parameter on ec2_ami_copy to False (#22634)

Set encrypted to default False, rather than None

Otherwise you get:

```
Invalid type for parameter Encrypted, value: None, type: <type 'NoneType'>, valid types: <type 'bool'>)
```
This commit is contained in:
Will Thames 2017-03-28 02:44:59 +10:00 committed by Ryan Brown
parent 36e24c53c6
commit 7142e28423

View file

@ -196,7 +196,7 @@ def main():
source_image_id=dict(required=True), source_image_id=dict(required=True),
name=dict(default='default'), name=dict(default='default'),
description=dict(default=''), description=dict(default=''),
encrypted=dict(type='bool', required=False), encrypted=dict(type='bool', default=False, required=False),
kms_key_id=dict(type='str', required=False), kms_key_id=dict(type='str', required=False),
wait=dict(type='bool', default=False), wait=dict(type='bool', default=False),
wait_timeout=dict(default=1200), wait_timeout=dict(default=1200),