https://pulumi.com logo
r

rapid-lamp-57703

03/16/2020, 11:12 AM
anyone know how to do this: 'Source = $"./wwwroot/{file}", In the new azure 2.1 world? getting: Cannot implicitly convert type 'string' to 'Pulumi.Input<Pulumi.AssetOrArchive>' - it really isn't clear how to create a AssetOrArchive in this auto generated code.
t

tall-librarian-49374

03/16/2020, 11:58 AM
Source = new FileAsset($"./wwwroot/{file})
r

rapid-lamp-57703

03/16/2020, 12:29 PM
Nice - thanks.
2 Views