How to apply s3 bucket policy to all buckets in accounta

I am dealing with some security best practices issues in our terraform code and one of them is not allowing insecure HTTP connections to s3 buckets, I was wondering if I could define a single generic policy like below using wildcards in the s3 buckets arn and apply it at the aws account level instead of having to do this for every s3 buckets.

data "aws_iam_policy_document" "www_bucket_policy" {

    statement {
      principals {
        type        = "AWS"
        identifiers = ["*"]
      resources = [
      effect = "Deny"
      actions = [
      condition {
        test = "Bool"
        variable = "aws:SecureTransport"
        values = [