question is there away to generate ```Egress: ec2....
# golang
s
question is there away to generate
Copy code
Egress: ec2.NetworkAclEgressArray{
				&ec2.NetworkAclEgressArgs{
					Action:    pulumi.String("allow"),
					CidrBlock: pulumi.String("0.0.0.0/0"),
					FromPort:  <http://pulumi.Int|pulumi.Int>(0),
					Protocol:  pulumi.String("-1"),
					RuleNo:    <http://pulumi.Int|pulumi.Int>(900),
					ToPort:    <http://pulumi.Int|pulumi.Int>(0),
				},
? As i'm going to have multiple subnets for various rules I need to generate
f
You can use a for loop an iterate over the config file