https://pulumi.com logo
#aws
Title
# aws
a

astonishing-quill-88807

09/04/2020, 4:58 PM
Or, alternatively, is it possible to append rules to an existing security group?
c

chilly-hairdresser-56259

09/04/2020, 5:05 PM
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?
5 Views