vCloud Director ordering question

Just testing terraform with being able to build out canned test labs. I got vsphere all building perfectly however I have one issue with building out the vCloud org instance.

This is what I’m trying to do:

Create Org
Create Org_user
Create Org_vDC

then create the Org_vDC_Network (direct attached network)

When I have all the above resources in a single file terraform is trying to create the network first before the org.

I know i’m missing something just cannot see it

###Create Org
resource “vcd_org” “my-org” {
name = “{var.vcd_Org}" full_name = "{var.vcd_Org}”
description = “Automation Deployment”
is_enabled = “true”
delete_recursive = “true”
delete_force = “true”
}

####Create user
resource “vcd_org_user” “my-org-admin” {
org = vcd_org.my-org.name

name = “dev”
description = “dev”
role = “Organization Administrator”
password = “p@ssw0rd”
}

###Create org vDC
resource “vcd_org_vdc” “my-vdc” {
name = “{var.vcd_Org_vDC}" description = "{var.vcd_Org_vDC}”
org = vcd_org.my-org.name

allocation_model = “AllocationVApp”
network_pool_name = “{var.vcd_Network_Pool}" provider_vdc_name = "{var.vcd_Provider}”

network_quota = 10

memory_guaranteed = 0.20
cpu_guaranteed = 0.20

compute_capacity {
cpu {
limit = 3123
}

memory {
  limit     = 4123 
}

}

storage_profile {
name = “${var.vcd_Storage_Profile}”
limit = 0
enabled = true
default = true
}
enabled = true
enable_thin_provisioning = true
enable_fast_provisioning = true

delete_force = true
delete_recursive = true
}

###Create network
resource “vcd_network_direct” “net” {
org = “{var.vcd_Org}" vdc = "{var.vcd_Org_vDC}”

name = var.vcd_network_name
external_network = var.vcd_ext_network
}

Resolved it after seeing the depends on command in another script.