https://pulumi.com logo
#general
Title
# general
t

tall-beard-99429

11/03/2021, 9:45 AM
Bit of a strange one, if I run
pulumi preview
locally I get 196 unchanged, if I run it in my CI (exact same command), I get - 58 to delete, 138 unchanged. Any ideas why this would happen?
b

bumpy-grass-54508

11/03/2021, 1:28 PM
any difference between OS local and in CI? i've had StringAssets and/or FileAssets be marked as different due to line endings before. or maybe a different version of pulumi CLI? not sure if that would affect it also strange that it is 58 to just delete, not replace. in my line ending scenario it was updating a js lambda function that it thought changed, but not a straight delete are you using dotnet by chance?
i ask because the only thing i can think of that i've seen before that would mark a bunch of resources for deletion would be this scenario in dotnet: https://github.com/pulumi/pulumi/issues/7050 could be an exception is thrown somewhere in your stack, and your Program.Main is returning
Task
instead of
Task<int>
t

tall-beard-99429

11/03/2021, 3:17 PM
I found the problem, it was a mistake with exporting in typescript