diff --git a/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go b/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go index 341b2a305..b56591e8f 100644 --- a/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go +++ b/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go @@ -213,7 +213,7 @@ func buildPutRuleInputStruct(d *schema.ResourceData) *events.PutRuleInput { input.Description = aws.String(v.(string)) } if v, ok := d.GetOk("event_pattern"); ok { - input.EventPattern = aws.String(v.(string)) + input.EventPattern = aws.String(normalizeJson(v.(string))) } if v, ok := d.GetOk("role_arn"); ok { input.RoleArn = aws.String(v.(string))