Description
Trying to run aztfexport query -n "resourceGroup =~ 'rg-example' and (type contains 'Microsoft.Network/firewallPolicies' or type contains 'Microsoft.Network/firewallPolicies/ruleCollectionGroups' or type contains 'Microsoft.Network/azureFirewalls')"
It'll export the state file and will show the firewall & firewall policy in the mapping file.. However there isn't any explicit config in the main.tf showing the rule collection groups , network rules , or application rules for us to modify . Seems like the rcgs aren't it's own seperate resource in Azure and nested under firewall policies. Is this possibly a limitation of the aztfexport tool?
I've tried running aztfexport query -n "resourceGroup =~ 'rg-example' and "type contains 'Microsoft.Network/firewallPolicies/ruleCollectionGroups'" and i get "Error: generating Terraform configuration: converting from state to configurations: converting terraform state to config: no state"