important-vegetable-39003
12/27/2021, 1:18 PMnew Ingress(name, ingressTemplate);
new GlobalAddress(ipName, {
name: ipName,
project: con.glob.project,
});
But what I'm trying to ask is if Pulumi cares about the order?elegant-window-55250
12/27/2021, 1:26 PMipName
variable as reference in the Ingress, it'll fail, as there are no way for Pulumi to register the dependency.important-vegetable-39003
12/27/2021, 1:29 PMelegant-window-55250
12/27/2021, 1:29 PMconst address = new GlobalAddress(ipName, {
name: 'the-global-ip',
project: con.glob.project,
});
new Ingress(name, { ipAddress: address.ip });
important-vegetable-39003
12/27/2021, 1:29 PMelegant-window-55250
12/27/2021, 1:30 PMconst address = new GlobalAddress(ipName, {
name: ipName,
project: con.glob.project,
});
new Ingress(name, ingressTemplate, { dependsOn: address });
important-vegetable-39003
12/27/2021, 1:31 PMelegant-window-55250
12/27/2021, 1:31 PM