Skip to content

Commit

Permalink
add assertion to input_template on cloudwatch event rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Dec 13, 2023
1 parent 2d95b92 commit f364f35
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
that:
- event_rule_input_transformer_output.changed

# - name: Assert that event rule is created with a valid json value for input_template
# ansible.builtin.assert:
# that:
# - event_rule_input_transformer_output.targets[0].input_transformer.input_template == ''
- name: Assert that event rule is created with a valid json value for input_template
ansible.builtin.assert:
that:
- event_rule_input_transformer_output.targets[0].input_transformer.input_template | from_json

- name: Create cloudwatch event rule with input transformer (idempotent)
amazon.aws.cloudwatchevent_rule:
Expand Down

0 comments on commit f364f35

Please sign in to comment.