thankful-intern-46293
04/16/2023, 1:38 PMerror: Preview failed: diffing urnđŸ˜›ulumi:test:đŸ˜›ulumi-test::hcloud:index/networkSubnet:NetworkSubnet::foonet: value is not knownwhen i create the network first, and only afterwards add the code for the subnet in a second pulumi up everything works as expected.
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?billowy-army-68599
04/17/2023, 1:03 AM