VPC Peering connection timeouts


sometimes I get error while deleting VPC peering:

module.peering_ldap_data.aws_vpc_peering_connection.src_peering: apply errored, but we’re indicating that via the Error pointer rather than returning it: Error waiting for VPC Peering Connection (pcx-07e26e8d28e57dc9f) to be deleted: timeout while waiting for state to become ‘rejected, deleted’ (last state: ‘active’, timeout: 1m0s)

I know aws_vpc_peering_connection does not have timeout attribute so I cannot increase timeout for it. Maybe there is a workaround for it?

I tried to increase max_retries in backend-config while initing terraform, but it did not help.