billowy-pilot-50934
08/18/2021, 6:43 PMprivate SecurityGroup ImportSecurityGroup()
{
var tags = new InputMap<string>();
tags.Add("Name", "subnet-1_SG");
return new SecurityGroup("dev-1a_sg",
new SecurityGroupArgs
{
Name = "dev-public-1a_sg",
VpcId = "vpc-097dc5c3d016997a8",
Description = "Security group",
Tags = tags,
// I would like to get this information
// which shows in my stack online
Egress = null
//^^^^^^^
},
new CustomResourceOptions
{
ImportId = "sg-Hidden"
});
}
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by