pulumi/tests/testdata/codegen/read-file-func-pp/dotnet/read-file-func.cs

16 lines
258 B
C#

using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
var key = File.ReadAllText("key.pub");
return new Dictionary<string, object?>
{
["result"] = key,
};
});