Skip to content

Commit

Permalink
Fix module documentation schema errors (ansible-collections#80)
Browse files Browse the repository at this point in the history
* Fix module documentation schema errors

ecs_service is missing suboptions data for placement_constraints
Return docs for cloudwatchlogs_log_group_metric_filter are missing suboption
descriptions and are just plain wrong. Correct type and values.

Fixes ansible-collections#79

* Also update arg_spec for ecs_service

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@f26ad49
  • Loading branch information
jillr authored and alinabuzachis committed Sep 21, 2022
1 parent 14935cb commit ed2214d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions plugins/modules/cloudwatchlogs_log_group_metric_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,15 @@
description: Return the origin response value
returned: success
type: list
contains:
creation_time:
filter_name:
filter_pattern:
log_group_name:
metric_filter_count:
sample: [
{
"default_value": 3.1415,
"metric_name": "box_free_space",
"metric_namespace": "made_with_ansible",
"metric_value": "$.value"
}
]
"""
from ansible_collections.amazon.aws.plugins.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code, get_boto3_client_method_parameters
from ansible_collections.amazon.aws.plugins.module_utils.ec2 import camel_dict_to_snake_dict
Expand Down

0 comments on commit ed2214d

Please sign in to comment.