I am not able to create an instance with a shared vpc of an existing project

This my code:

// VM srv-dc01

resource "google_compute_instance" "vm_01" {
name = "srv-dc01"
machine_type = "n2d-standard-2"
zone = "europe-west4-a"
allow_stopping_for_update = true

boot_disk {
initialize_params{
image = "windows-server-2022-dc-v20220513"
size = "100"
type = "pd-balanced"
}
device_name = "os-srv-dc01-disk-0"
}

network_interface {
subnetwork = "${data.google_compute_subnetwork.subnet.id}"
network_ip = "10.10.3.5"
}

}

data "google_compute_subnetwork" "subnet" {
name = "subnet_shared_vpc"
region = "europe-west4"
}

Error terraform Apply

google_compute_instance.vm_01: Creating...
╷
│ Error: Error creating network interfaces: exactly one of network or subnetwork must be provided
│
│ with google_compute_instance.vm_01,
│ on srv-dc01.tf line 3, in resource "google_compute_instance" "vm_01":
│ 3: resource "google_compute_instance" "vm_01" {

Any idea since I can’t get it, thanks!