file looks similar to something i have seen. in the c# sdk but i think it is present for any language
https://github.com/pulumi/pulumi/issues/7076
it happens to me if you try to
pulumi refresh
anything that contains an AssetArchive or StringAsset
bumpy-grass-54508
06/23/2021, 5:49 PM
there is more info in that github issue, and the ones it links to. but the short version is (for me anyway): assets serialize into the state file, and between 2 consecutive
pulumi up
commands it should work fine, see no difference. but if you
pulumi refresh .... pulumi up
then the
refresh
will cause the state representation of the asset to change, causing a diff to show up on the next run
so my current temporary solution is to just not run
pulumi refresh
at all
bumpy-grass-54508
06/23/2021, 5:51 PM
in the c# sdk on top of that, the changed representation leads to an internal exception being thrown. idk if that is true for all languages that it breaks - maybe the state changes but it is still a valid representation
a
adamant-dress-73325
06/23/2021, 11:37 PM
Yes seems like the same issue, since I did do a refresh before
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.