flat-queen-41640
03/11/2025, 9:50 AMpulumi-command and trying to move from the deprecated remote.CopyFile to remote.CopyToRemote.
However I am struggling with the fact that the source is now an Asset instead of just a pulumi.StringInput with the path of a file. Because of that I cannot copy a file if the file path is not determined at plan time. It fail with the error:
property asset value {<nil>} has a problem: either asset or archive must be set
Am I missing something or is it expected when dealing with AssetOrArchive inputs?
Can give more context about the use case in ๐งตbrief-salesmen-62354
03/11/2025, 2:34 PMbrief-salesmen-62354
03/11/2025, 2:37 PMflat-queen-41640
03/12/2025, 8:54 AMCopyFile but did not manage to have it working with CopyToRemote