sparse-intern-71089
06/09/2023, 2:08 PMbillowy-army-68599
ValueYamlFiles
takes an array, so I think you need:
pulumi.AssetOrArchiveArrayInput{ pulumi.NewFileAsset("./metrics.yml") }
billowy-army-68599
acceptable-diamond-55380
06/09/2023, 4:20 PMpulumi.AssetOrArchiveArray{pulumi.NewFileAsset("metrics.yml")}
Seems to work and is able to be parsed. I guess the official documentation should be updated for Pulumi newcomers as it is a bit misleading and/or confusing.