I am creating lambda trigger for kinesis stream however getting below
error.
"msg": "Module alias error: internal error: required and default are
mutually exclusive for event_source"
Code:
- hosts: control
gather_facts: no
vars:
state: present
function_names: from_Kinesis
tasks:
- name: Kinesis stream event mapping
lambda_event:
state: "{{ state | default('present') }}"
event_source: stream
function_name: "{{ function_names }}"
source_params:
source_arn:
arn:aws:kinesis:us-west-2:xxxxxxxxxxx:stream/StockTradeStream
enabled: True
batch_size: 100
starting_position: TRIM_HORIZON
- name: show source event config
debug: var=lambda_stream_events
Appreciate your input.
Thanks !!
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f5c37ec9-3a96-4a89-87df-b62a2804c825%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.