The Resource under resource group was not found

I am trying to create multiple (7) subnets in 1 vnet.

Error: creating Subnet: network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=404 – Original Error: Code=“ResourceNotFound” Message="The Resource (Vnet) under resource group was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"

I have tried using depends_on =[azurerm_virtual_network.vnet_fbbwebworkflow] and terraform apply -parallelism =1 . But nothing seems to work I am still getting the same error. Has anyone came through this error and resolved it? I my stuck from the last two days.