Browse Source

update with upstream

master
Markus Bergholz 1 year ago
parent
commit
1dd8d16dd4
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      cloudwatchlogs_log_group_metric_filter.py

+ 7
- 3
cloudwatchlogs_log_group_metric_filter.py View File

@ -55,7 +55,7 @@ options:
description:
- The namespace of the cloudWatch metric.
type: str
matric_value:
metric_value:
description:
- The value to publish to the cloudWatch metric when a filter pattern matches a log event.
type: str
@ -149,8 +149,12 @@ def main():
log_group_name=dict(type='str', required=True),
filter_name=dict(type='str', required=True),
filter_pattern=dict(type='str'),
metric_transformation=dict(
type='dict'),
metric_transformation=dict(type='dict', options=dict(
metric_name=dict(type='str'),
metric_namespace=dict(type='str'),
metric_value=dict(type='str'),
default_value=dict(type='float')
)),
)
module = AnsibleAWSModule(


Loading…
Cancel
Save