hetzner network provider - problems with waiting f...
# getting-started
t
hetzner network provider - problems with waiting for the creation
i have the following code i would expect to a network + a subnet i execute everything at the same time i get the error message:
error: Preview failed: diffing urnpulumitest:pulumi testhcloudindex/networkSubnetNetworkSubnetfoonet value is not known
when i create the network first, and only afterwards add the code for the subnet in a second pulumi up everything works as expected.
Copy code
const provider = new hcloud.Provider("hcloudProvider", {
    token: hcloudToken,
});


const mynet = new hcloud.Network("mynet", {ipRange: "10.0.0.0/8"}, {provider});


const foonet = new hcloud.NetworkSubnet("foonet", {
    networkId: mynet.id as any,
    type: "cloud",
    networkZone: "eu-central",
    ipRange: "10.0.1.0/24",
}, {provider, dependsOn: [mynet]});
any one has a good ressource to understand this error better?
b
best to file an issue for things like thios