Skip to content

Commit

Permalink
Merge pull request #2107 from grubernaut/b-pattern-length
Browse files Browse the repository at this point in the history
Fix pattern length for cloudwatch metric filter
  • Loading branch information
radeksimko authored Oct 31, 2017
2 parents 60bd392 + 6cb8c92 commit b36fb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_cloudwatch_log_metric_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func resourceAwsCloudWatchLogMetricFilter() *schema.Resource {
"pattern": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validateMaxLength(512),
ValidateFunc: validateMaxLength(1024),
StateFunc: func(v interface{}) string {
s, ok := v.(string)
if !ok {
Expand Down

0 comments on commit b36fb5c

Please sign in to comment.