pulumi/tests/testdata/codegen/simple-splat-pp/dotnet/simple-splat.cs

17 lines
368 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Splat = Pulumi.Splat;
return await Deployment.RunAsync(() =>
{
var allKeys = Splat.GetSshKeys.Invoke();
var main = new Splat.Server("main", new()
{
SshKeys = allKeys.Apply(getSshKeysResult => getSshKeysResult.SshKeys).Select(__item => __item.Name).ToList(),
});
});