This message was deleted.
# general
s
This message was deleted.
d
For the shared NSG, are you using the
SecurityRule
resource, or the
securityRules
input on the NSG itself?
g
In shared stack I am creating
NetworkSecurityGroup
and inside of it I am specifying list of
SecurityRuleArgs
that relevant at that point in time. In compute stack I am creating
SecurityRule
with reference to NSQ that was created in Shared stack. If I get you correctly you suggest separate creating NSQ and rules for it in shared stack?
d
just needs a change in the
shared
stack so that instead of using
SecurityRuleArgs
inline, you specify them the same way as your
compute
stack with
SecurityRule
resources. Specifying them inline makes it "authoritative", so clobbers any rules specified externally
g
That make sense, thank you for nice advice👍
🙌 1