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

Required and default are mutually exclusive (#3475)

This commit is contained in:
Brian Haggard 2016-11-16 01:11:58 -06:00 committed by Matt Clay
parent 72eb8c7be9
commit 84e79770b3

View file

@ -386,7 +386,7 @@ def main():
dict(
state=dict(required=False, default='present', choices=['present', 'absent']),
lambda_function_arn=dict(required=True, default=None, aliases=['function_name', 'function_arn']),
event_source=dict(required=True, default="stream", choices=source_choices),
event_source=dict(required=False, default="stream", choices=source_choices),
source_params=dict(type='dict', required=True, default=None),
alias=dict(required=False, default=None),
version=dict(type='int', required=False, default=0),