-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Azure Firewall Manager resources #7319
Comments
@jturver1 Thank you for submitting this feature request 👍 I had a try with the API, feels we can create the following resources, which are almost same as your listing, with some minor changes:
Regarding the firewall resource itself, we shall enhance the existing Currently, I have not looked into the secured virtual hub or hub virtual network. I will update that part here later. Or do you have any opinion on this? |
Hi Magodo, that sounds great thank you 👍 I agree that the resources above are the priority for now. We want to be able to manage the policy and rule sets on a high frequency basis using Terraform state awareness. It would be great to have terraform manage the Secure Virtual Hub construct as well, but that will mostly be a deploy and destroy only construct and we can use a null resource with local exec to do that for now. Many thanks and please keep up your valuable efforts in proactive maintenance of AzureRM they are greatly appreciated. |
Quick update and additional request for the Firewall Manager, Firewall Policy resource configuration:
API ref here (evolving fast):
Many thanks again |
Co-authored-by: kt <[email protected]> fixes #7319 fixes #7368 fixes #8363
@magodo Is secure virtual hub under consideration for being implemented anytime soon? |
@ersil Yes, will be implemented soon. |
@jackofallops @magodo If you want, I can take a crack at this. But it seems like you are already working so I'd prefer not to duplicate |
Hi, I have created an "azure_firewall" and a "azurerm_firewall_policy". But I cannot find any documentation on how to connect these two resources. Have tried to add I cannot find any documentation that describe how to connect an Azure Firewall Policy to an Azure Firewall. Have I missed something or is this not supported yet? |
This PR adds the required properties to azurerm_firewall for make use of azurerm_firewall_policy, under both secured virtual hub cases and hub virtual network cases. This implements part of feature request in #7319.
This has been released in version 2.37.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.37.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Support for Azure Firewall Manager Policies
It would be great to see some MVP support for the relative new Azure Firewall Manager constructs:
Azure Firewall Manager constructs, including "Secure Virtual Hub" configurations
Azure Firewall Manager Firewall Policies (parent, child)
Azure Firewall Manager Policy Rule Collections (Network, Application, DNAT)
Azure Firewall Manager Rule Collection Rules
Firewall Manager will likely supersede Azure Firewall (azurerm_firewall) for deploying and managing Azure Firewall in many cases. It would be fantastic to be able to manage these resources via Terraform.
This provides an example of how Azure Firewall Manager Policy constructs map to existing Azure Firewall policy in terms of some of the resource types required and their properties:
Potential Terraform Configuration
For MVP, it would be great to have the ability to manage the following resources as a priority/starting point:
References
https://docs.microsoft.com/en-us/azure/firewall-manager/
https://docs.microsoft.com/en-us/azure/firewall-manager/migrate-to-policy
The text was updated successfully, but these errors were encountered: