k1LoW / awspec

RSpec tests for your AWS resources.
MIT License
1.17k stars 194 forks source link

Feature/metric filter pattern support #544

Closed JinhuaK closed 3 years ago

JinhuaK commented 3 years ago

Support test case for filter_pattern of CloudWatch logs metric filter.

example:

describe cloudwatch_logs('my-cloudwatch-logs-group') do
  it do
    should have_metric_filter('my-cloudwatch-logs-metric-filter')
      .filter_pattern('[date, error]')
 end
end
k1LoW commented 3 years ago

@JinhuaK GREAT! Thank you!!!

k1LoW commented 3 years ago

Released as v1.24.4.