09/21/2021, 11:17 AM
Good day to you, I am encountering some issue with the setup of pulumi in an Azure environment. I have changed my work env (new PC) and since then I am unable to run Pulumi. When running
pulumi preview
I receive a few similar errors:
error: Running program 'E:\Git\Bandlab.Backend\pulumi' failed with an unhandled exception:
    Error: Failed to retrieve the host keys: {"error":{"code":"MissingApiVersionParameter","message":"The api-version query parameter (?api-version=) is required for all requests."}}
        at E:\Git\Bandlab.Backend\pulumi\node_modules\@pulumi\appservice\zMixins.ts:872:19
        at (<anonymous>)
        at fulfilled (E:\Git\Bandlab.Backend\pulumi\node_modules\@pulumi\azure\appservice\zMixins.js:18:58)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
I am logged in on Azure using
azure login
and on pulumi. Any assistance is welcome