sparse-state-34229
06/01/2020, 10:23 PMvictorious-country-25661
06/01/2020, 10:25 PMpulumi destroy --skip-preview
is the command.
The only difference here is that the pulumi up
was done by circleci but since it failed, I want to destroy the resources that the circleci process created until failedconst provider = new aws.Provider(`aws-provider-${region}`, {
region
});
(async (): Promise<void> => {
await pulumi.ProviderResource.register(provider);
})();
gentle-diamond-70147
06/01/2020, 10:37 PMregion
coming from in the arguments to new aws.Provider()
?victorious-country-25661
06/01/2020, 11:51 PMpulumi up
and then pulumi destroy
. I have no idea what happened before but I think is a bug. The context was that the circleci jobs failed when deploying the stack and when I tried to destroy, this error was being thrown.