Peering cannot be configured, if Azure Express Route Circuit not in provisioned state.
An Azure ExpressRoute Circuit provisioning state cannot be changed in the web console. It will reflect the state that the circuit is in based on your connectivity provider's state with connecting to the circuit. To learn more about how to provision an ExpressRoute Circuit, including what the provisioning states mean, see the Azure documentation (below).
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-howto-circuit-portal-resource-manager
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-workflows#expressroute-circuit-provisioning-states
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/express_route_circuit