How to ingnore aws_iam_policy changing when upgrade version with Terraform?

When I upgrade aws provider version from 3.22.0 to 3.28.0, it will change some aws_iam_policy

# module.aws_config_role.aws_iam_policy.default will be updated in-place
~ resource "aws_iam_policy" "default" {
        path   = "/"
      ~ policy = jsonencode(
          ~ {
              ~ Statement = [
                  ~ {

Is there a way to ignore it? I didn’t find a lifecycle ignore feature on the document.