kind-afternoon-60990
03/19/2025, 2:17 PMrcg = network.FirewallPolicyRuleCollectionGroup(
imported_rcg_result.name,
resource_group_name=resource_group_name,
firewall_policy_name=firewall_policy.name,
priority=priority,
rule_collections=merged_rule_collections,
opts=ResourceOptions(provider=virtual_wan_provider, id=existing_rcg.id)
)
this rcg is imported programatically in case it is not existing and that seams to work preview(shows the read)/up runs through. goal is that the rule collections are getting updated with new ones but somehow no change is detected while at the moment there is no rule collection present and merged_rule_collections have content:
Merged rule collections: [{'name': 'network-rule-collection-smallnet-dev-002', 'priority': 1000, 'action': 'Allow', 'rules': [{'name': 'network-rule-smallnet-dev-002-0', 'direction': 'Inbound', 'protocol': '*', 'sourceAddresses': ['10.238.8.0/27'], 'destinationAddresses': ['10.0.0.0/8'], 'destinationPorts': ['*'], 'sourcePorts': []}]}, {'name': 'application-rule-collection-smallnet-dev-002', 'priority': 26000, 'action': 'Allow', 'rules': [{'name': 'application-rule-smallnet-dev-002-0', 'priority': 26000, 'direction': 'Inbound', 'protocol': '*', 'sourceAddresses': ['10.238.8.0/27'], 'destinationAddresses': [], 'destinationPorts': [], 'sourcePorts': [], 'fqdns': []}, {'name': 'application-rule-smallnet-dev-002-1', 'priority': 26001, 'direction': 'Inbound', 'protocol': '*', 'sourceAddresses': ['10.238.8.0/27'], 'destinationAddresses': [], 'destinationPorts': [], 'sourcePorts': [], 'fqdns': []}, {'name': 'application-rule-smallnet-dev-002-2', 'priority': 26002, 'direction': 'Inbound', 'protocol': '*', 'sourceAddresses': ['10.238.8.0/27'], 'destinationAddresses': [], 'destinationPorts': [], 'sourcePorts': [], 'fqdns': []}]}, {'name': 'nat-rule-collection-smallnet-dev-002', 'priority': 55000, 'action': 'Dnat', 'rules': []}]
that are dummy rules but should be actually working. aynone an idea?
Slack ConversationNo 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