From eb5516befa7fb2af00e095b0c420978571b1befb Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 16 Jul 2020 01:31:41 +0530 Subject: [PATCH] Docs: sanity fixes (#133) Signed-off-by: Abhijeet Kasurde This commit was initially merged in https://github.com/ansible-collections/community.aws See: https://github.com/ansible-collections/community.aws/commit/059cf9efc95bb976de21ab4f8e4d9ddd001983fc --- plugins/modules/cloudwatchevent_rule.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/cloudwatchevent_rule.py b/plugins/modules/cloudwatchevent_rule.py index b90b7feca6c..0ba66909d25 100644 --- a/plugins/modules/cloudwatchevent_rule.py +++ b/plugins/modules/cloudwatchevent_rule.py @@ -107,7 +107,7 @@ required: false ''' -EXAMPLES = ''' +EXAMPLES = r''' - community.aws.cloudwatchevent_rule: name: MyCronTask schedule_expression: "cron(0 20 * * ? *)" @@ -131,7 +131,7 @@ state: absent ''' -RETURN = ''' +RETURN = r''' rule: description: CloudWatch Event rule data. returned: success @@ -430,7 +430,7 @@ def main(): default='present'), description=dict(), role_arn=dict(), - targets=dict(type='list', default=[]), + targets=dict(type='list', default=[], elements='dict'), ) module = AnsibleAWSModule(argument_spec=argument_spec)