Refresh pollutes state for programs that use Assets and Archives #1595
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
size/S
Estimated effort to complete (1-2 days).
Milestone
What happened?
When using assets and archives, as common for lambas in AWS for example, refresh wipes out the asset/archive information from the state and replaces it with machine-local references. This is inherently dangerous if multiple boxes are used to perform
pulumi
operations against a shared statefile.Example
The motivating example is a highly upvoted issue in pulumi-aws:
pulumi/pulumi-aws#3548
pulumi/pulumi-aws#3185 even more minimal repro is here.
Output of
pulumi about
See above.
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: