I think in the docs it says you can't append SecurityGroupIngressRule if you specify ingress in the SecurityGroup
l
little-cartoon-10569
09/04/2020, 10:12 PM
You can do it if you don't use the built-in block, just use SecurityGroupRules. Pulumi creates the group before the rule, so the rule's id is available at that point. No idea if it would handle a self-referential rule, but it seems likely?