fast-sandwich-30809
03/27/2024, 10:55 PMnew Folder(fileShareName + folderName, {name: folderName});
The wrinkle - I want to use fileShare.name
to establish a dependency, but you can't do that for a resource's logical name. But I need the fileShare object anyway, to establish that link manually! (using dependsOn) This feels yucky.
The possible solution - I can use the pulumiOptions.parent
property to establish a stronger dependency, and then I think the parent's name is put in the URN automatically? But the docs say this is only for component resources. My hunch is that component resources use parent
under the hood, and so thing should work. Here's what I'm hoping for:little-cartoon-10569
03/27/2024, 11:19 PMlittle-cartoon-10569
03/27/2024, 11:20 PMparent: undefined
and then that resource's URN has no sign of the component resource's URN.little-cartoon-10569
03/27/2024, 11:21 PMfast-sandwich-30809
03/27/2024, 11:49 PMlittle-cartoon-10569
03/28/2024, 3:28 AMfast-sandwich-30809
03/28/2024, 7:42 PMtsc
succeeds), and that it's cacheable - this way we'll only re-zip if the source code changes 🙂 wrinkle being that I need to figure out these function apps first 😅little-cartoon-10569
04/01/2024, 7:25 PMfast-sandwich-30809
04/01/2024, 10:50 PMfast-sandwich-30809
04/01/2024, 10:50 PM