Not able to associate VPCE (type GatewayLoadBalancer) to route table

Hi,

We are facing issues while associating VPCE(type GatewayLoadBalancer) to route table using Terraform AWS resource - aws_vpc_endpoint_route_table_association .

We are getting below error -

**InvalidParameter: Route table IDs are only supported for Gateway type VPC Endpoint.**

Actually we have created VPC NetworkFirewall resource which have VPC endpoint of type GatewayLoadBalancer. Which we wanted to associate with other subnets route table.

Please help if we are missing something here.

Thanks in advance.