-
Notifications
You must be signed in to change notification settings - Fork 16
feat: support multiple public ips on firewall #135
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
feat: support multiple public ips on firewall #135
Conversation
f516071
to
4274009
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. I very much appreciate you submitting this PR. I'm just wondering if we can make the implementation a bit cleaner and more scalable for new features moving forward. Thanks
Hi @jaredfholgate, I've rewritten the logic so that you'd need to specify a map now instead. One outstanding issue is the moved-block you asked me to look into. From what I can see it's not possible to specify such a think since there is a lack of doing those dynamically. If Terraform would have the option to make the moved-block to be generated by some key/value kind of way, that would be doable, but it isn't. The end-user of this module would need to specify it's own moved block so that the pip is not recreated. Which was also the reason why I tried to make it non-breaking but made the code much more harder to read. |
@tobiasehlert I have finished some refactoring and tested by deploying main branch and then running a plan with this branch to ensure it does not attempt to change anything. If you are happy with these changes, I will merge to a release branch, so I can run the e2e tests. |
…//github.com/tobiasehlert/terraform-azurerm-avm-ptn-hubnetworking into feat-support-multiple-public-ips-on-firewall
22ef715
into
Azure:release/feat-firewall-multiple-public-ip-config-support
Moved to a release branch |
Description
This pull request adds support to have multiple public ips on firewall resource.
Similar implementation as in Azure/terraform-azurerm-caf-enterprise-scale#1243.
Fixes #76
Type of Change
Checklist