powerful-football-81694
01/01/2019, 1:40 PMconst resourceGroup =
new azure.core.ResourceGroup(
`retrospect-${envName}-infra`,
{
location: "westeurope"
}
);
Pulumi adds an auto-generated suffix to the name, like so:
retrospect-dev-infra5bf12d3a
Firstly, why is it doing this, and secondly, how can we override this behavior? We'd like to avoid that because we'll be encoding project and stack names into our resource names where necessary, so the random suffix just makes things more cluttered..billowy-television-23506
01/01/2019, 2:46 PMconst resourceGroup =
new azure.core.ResourceGroup(
`retrospect-${envName}-infra`,
{
name: `retrospect-${envName}-infra`,
location: "westeurope"
}
);
powerful-football-81694
01/01/2019, 4:41 PMboundless-monkey-50243
01/01/2019, 6:33 PMpowerful-football-81694
01/01/2019, 7:02 PMboundless-monkey-50243
01/01/2019, 8:52 PMpulumi refresh
and mutable commands with more than one runner (even more than one unintentional runner) can be easily avoided by just staying on the rails.powerful-football-81694
01/01/2019, 9:51 PMif two Pulumi users try to use the same resource names in two unrelated stacks
boundless-monkey-50243
01/01/2019, 9:52 PMfoo
, it'll collide, and you're offloading the fixing of that problem onto your code rather than the stuff built for itENG-101
for some reason)\ENG-101
stack already exists and another one doesn't but ill-considered code attempts to create one, then destroy it on failurepowerful-football-81694
01/01/2019, 9:55 PMboundless-monkey-50243
01/01/2019, 9:55 PMpowerful-football-81694
01/01/2019, 9:57 PM