Terraform error while applying it

I am creating a VM, NIC and subnet in azure using TF, for Virtual network I am using the existing one and for resource group also I am using the existing one.
So, while applying the TF code I’m getting an error that NIC can’t be created cause of the error (provided below).

Could anyone please suggest what I’m doing wrong. I’ve added the TF code and the error message below.

Terraform code:

terraform {
required_providers{
azurerm = {
source = “hashicorp/azurerm”
version = “>=3.0.0”
}
}
}

provider “azurerm”{
features{}
}

data “azurerm_resource_group” “rg” {
name = “hub-resource”
}

data “azurerm_virtual_network” “example” {
name = “defaullt-vnet”
resource_group_name = “hub-resource”
}

resource “azurerm_network_interface” “jenkins-nic”{
name = “jenkins-nic”
resource_group_name = data.azurerm_resource_group.rg.name
location = data.azurerm_resource_group.rg.location

ip_configuration{
    name = "testconfiguration2"
    subnet_id = azurerm_subnet.jenkins-subnet.id
    private_ip_address_allocation = "Dynamic"
    public_ip_address_id = azurerm_public_ip.jenkins-pi.id
}

}

resource “azurerm_subnet” “jenkins-subnet” {
name = “jenkins-subnet”
resource_group_name = data.azurerm_resource_group.rg.name
virtual_network_name = data.azurerm_virtual_network.example.name
address_prefixes = [“10.0.2.0/24”]
}

resource “azurerm_public_ip” “jenkins-pi”{
name = “jenkins-pi”
resource_group_name = data.azurerm_resource_group.rg.name
location = data.azurerm_resource_group.rg.location
allocation_method = “Static”
idle_timeout_in_minutes = 30
}

resource “azurerm_virtual_machine” “vm1”{
name=“jenkins-vm”
location = data.azurerm_resource_group.rg.location
resource_group_name = data.azurerm_resource_group.rg.name
vm_size = “Standard_B1s”
network_interface_ids = [azurerm_network_interface.jenkins-nic.id]
delete_os_disk_on_termination = true
delete_data_disks_on_termination = true
count = 1

storage_image_reference {
  publisher = "canonical"
  offer = "0001-com-ubuntu-server-focal"
  sku = "20_04-lts-gen2"
  version = "latest"
}

storage_os_disk {
  name = "jenkins-osdisk"
  caching = "ReadWrite"
  create_option = "FromImage"
  managed_disk_type = "Standard_LRS"
}

os_profile_linux_config {
    disable_password_authentication = false

}
}

Error message :

Error: creating Network Interface: (Name “jenkins-nic” / Resource Group “hub-resource”): network.InterfacesClient#CreateOrUpdate: Failure sending request: StatusCode=400 – Original Error: Code=“InvalidResourceReference” Message=“Resource /subscriptions/94eb6408-4fb6-4449-901b-6120639c0e84/resourceGroups/hub-resource/providers/Microsoft.Network/virtualNetworks/defaullt-vnet/subnets/jenkins-subnet referenced by resource /subscriptions/94eb6408-4fb6-4449-901b-6120639c0e84/resourceGroups/hub-resource/providers/Microsoft.Network/networkInterfaces/jenkins-nic was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.” Details=

│ with azurerm_network_interface.jenkins-nic,
│ on main.tf line 35, in resource “azurerm_network_interface” “jenkins-nic”:
│ 35: resource “azurerm_network_interface” “jenkins-nic”{