Error Creating aws_fms_policy

Hi All,

I was trying to create aws_fms_policy and when I apply, I got an error which I could not figure out what is the error based on the error message. Appreciate if anybody can help. Thanks.

Error: Creating Policy Failed: InvalidInputException: Error in the SecurityServiceData.ManagedServiceData at [Source: (String)"{“defaultAction”:“ALLOW”,“loggingConfiguration”:{“logDestinationConfigs”:[“arn:aws:firehose:us-east-1:xxxxxxxxx:deliverystream/aws-waf-logs-global”]},“overrideCustomerWebACLAssociation”:false,“postProcessRuleGroups”:[],“preProcessRuleGroups”:[{“managedRuleGroupIdentifier”:{“managedRuleGroupName”:“AWSManagedRulesBotControlRuleSet”,“vendorName”:“AWS”},“overrideAction”:{“type”:“NONE”},“ruleGroupArn”:null,“ruleGroupType”:“ManagedRuleGroup”,“visibility_config”:{“cloudwatch_metrics_enabled”:true,“m”[truncated 101 chars];

“defaultAction” should be defined with format
“defaultAction”:{“type”:“NONE”}