The statement has a SID with empty value. SID act as additional identifier for AWS policies and cannot be empty.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/IAM/latest/UserGuide/service_code_examples_iam.html
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy