mirror of https://github.com/pulumi/pulumi.git
18 lines
354 B
C#
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),
|
|
});
|
|
|
|
});
|
|
|