Required and default are mutually exclusive (#3475)

pull/18777/head
Brian Haggard 8 years ago committed by Matt Clay
parent 72eb8c7be9
commit 84e79770b3

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

Loading…
Cancel
Save