You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BuildStep pulumi module doesn't run the cmd when --skip-preview is passed to pulumi.
Unfortunately pulumi doesn't expose whether --skip-preview has been used. I've check the process.env and process.argv as well to see if we can determine if --skip-preview is used, and we can't :(
I have 2 solutions in mind:
Run the pulumi command with an env variable called PULUMI_SKIP_PREVIEW and that could checked in our BuildStep component.
Change the BuildStep into a DynamicResourceProvider and always run the command in the diff method
The text was updated successfully, but these errors were encountered:
The
BuildStep
pulumi module doesn't run thecmd
when--skip-preview
is passed to pulumi.Unfortunately pulumi doesn't expose whether
--skip-preview
has been used. I've check theprocess.env
andprocess.argv
as well to see if we can determine if--skip-preview
is used, and we can't :(I have 2 solutions in mind:
PULUMI_SKIP_PREVIEW
and that could checked in ourBuildStep
component.DynamicResourceProvider
and always run the command in thediff
methodThe text was updated successfully, but these errors were encountered: