#24917·pulumi

Pulumi errors out with "Detected that [provider] exited prematurely"

Author: wimiCreated Sep 26, 2026Updated Sep 26, 2026
Labelskind/bugneeds-triageBugpulumi/pulumi

What happened?

We've tried upgrading Pulumi from 3.227.0 to 3.265.0 and started having issues with providers. All of the providers, randomly finish with errors like this:

bash
error: Detected that C:\Users\XXX\.pulumi\plugins\resource-databricks-v1.109.0\pulumi-resource-databricks.exe exited prematurely.
       This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
       To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:

There is no rule on which one will fail, sometimes none. Simple pulumi preview with no changes also raises these errors randomly.

Example

Can't attach the project. Minimal programs do not reproduce the issue.

Output of pulumi about

pulumi about
CLI
Version      3.265.0
Go Version   go1.27.1
Go Compiler  gc

Plugins
KIND      NAME          VERSION
resource  azure-native  3.19.0
resource  databricks    1.109.0
language  python        3.265.0
resource  random        4.21.0

Host
OS       Microsoft Windows 10 Enterprise
Version  10.0.19045 Build 19045
Arch     x86_64

This project is written in python: executable='C:\Users\XXX\AppData\Local\pypoetry\Cache\virtualenvs\YYY3.12\Scripts\python.exe' version='3.12.10' toolchain='Auto' toolchainVersion='1.8.4' typechecker='None'

Current Stack: organization/program/stack

TYPE                                                                        URN
.....

Found no pending operations associated with stack

Backend
Name           XXXX
URL            XXXX
User           XXXX
Organizations
Token type     personal

Dependencies:
NAME                          VERSION
azure-identity                1.25.3
azure-keyvault-secrets        4.11.0
azure-mgmt-cognitiveservices  14.1.0
azure-mgmt-eventhub           11.2.0
azure-mgmt-network            30.2.0
azure-mgmt-resource-locks     1.0.0b1
azure-mgmt-storage            21.2.1
black                         26.5.1
pre-commit                    4.6.0
pulumi                        3.265.0
pulumi-azure-native           3.19.0
pulumi-databricks             1.109.0
pulumi-random                 4.21.0
pydantic                      2.13.4
pylint                        4.0.6
pyright                       1.1.410
pytest                        9.1.1
pytest-cov                    6.1.1
pyyaml                        6.0.1
requests                      2.32.3
ruff                          0.15.19

Additional context

No response

Contributing

Vote on this issue by adding a reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).