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),