Skip to content

Commit

Permalink
Required and default are mutually exclusive (ansible#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolk-Haggard authored and mattclay committed Dec 8, 2016
1 parent 72eb8c7 commit 84e7977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/extras/cloud/amazon/lambda_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 84e7977

Please sign in to comment.