pulumi/tests/testdata/codegen/inline-invokes-pp/dotnet/inline-invokes.cs

18 lines
354 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var webSecurityGroup = new Aws.Ec2.SecurityGroup("webSecurityGroup", new()
{
VpcId = Aws.Ec2.GetVpc.Invoke(new()
{
Default = true,
}).Apply(invoke => invoke.Id),
});
});