pulumi/sdk/nodejs/dist/pulumi-resource-pulumi-nodejs

6 lines
238 B
Bash
Executable File

#!/bin/sh
PULUMI_DYNAMIC_PROVIDER_SCRIPT_PATH=$(node -e "console.log(require.resolve('@pulumi/pulumi/cmd/dynamic-provider'))")
if [ ! -z "$PULUMI_DYNAMIC_PROVIDER_SCRIPT_PATH" ]; then
node "$PULUMI_DYNAMIC_PROVIDER_SCRIPT_PATH" $@
fi