Regex preventing deployment of glue service policy

I’m attempting to determine if I’m running into an issue with the AWS provider or if it’s with the AWS api. My customer is on version v3.63.0 of the aws provider and version v.0.12.31 of terraform
I am attempting to add a glue resource policy according the documentation here: Step 1: Create an IAM Policy for the AWS Glue Service - AWS Glue
The documentation specifies the policy should be defined with:

"Action": [
                "ec2:CreateTags",
                "ec2:DeleteTags"
            ],
            "Condition": {
                "ForAllValues:StringEquals": {
                    "aws:TagKeys": [
                        "aws-glue-service-resource"
                    ]
                }
            },
            "Resource": [
                "arn:aws:ec2:*:*:network-interface/*",
                "arn:aws:ec2:*:*:security-group/*",
                "arn:aws:ec2:*:*:instance/*"
            ]

The regular expression pattern is looking for a hard coded “glue” service in the policy and fails to apply:

Error: error putting policy request: InvalidInputException: Resource arn:aws:ec2:us-west-2:xx:security-group/* in policy does not match regular expression pattern arn:aws(\-[a-z]+)*:glue:us-west-2:xx:(\*|[a-zA-Z\*]+\/?.*)

  on glue.tf line 78, in resource "aws_glue_resource_policy" "glue_resource_policy":
  78: resource "aws_glue_resource_policy" "glue_resource_policy" {

If this is a pattern defined in the provider, can someone help direct me to where that is defined?
It looks like I’m hitting the exception here but can’t find the regex: