09/12/2023, 9:24 PM
🗒️ For both native and bridged providers upgrading past
introduces an important change (for bridged providers this starting with
). The change is fully described in
and affects how Node and Python packages are generated. Prior to the change, installing the Node or Python version of a bridged provider via npm or pip would run a script that ensures that the provider binary itself is installed. After the change, that is no longer the case, and Pulumi CLI takes over the responsibility for automatic installation. In practice you may observe files disappearing upon upgrade, for example these files will be removed from Pulumi bridged providers:
If your project is using Makefile targets that deal with these scripts, these require a small update. For example, in pulumi-azure-native we need to remove the following line from the Makefile: mkdir -p bin/scripts && cp scripts/install-pulumi-plugin.js bin/scripts And in pulumi-aws-apigateway this line is removed: cp -R scripts/ bin && \
09/14/2023, 6:33 AM
Has this an impact, if using the upgrade-provider or only on Makfile?
09/15/2023, 1:53 PM
That's a great question Engin. I've scanned the upgrade-provider tool and it does not currently do this kind of Makefile correction for you automatically so you'd still be affected.
09/15/2023, 1:57 PM