azurerm_nginx_deployment - support NGINX App Protect WAF#27454
azurerm_nginx_deployment - support NGINX App Protect WAF#27454WodansSon merged 9 commits intohashicorp:mainfrom
Conversation
NGINXaaS now supports NGINX App Protect WAF. This commit includes changes to enable/disable WAF while creation or updating an NGINXaaS deployment.
|
Looks like some vendor checks are failing? |
c4c0a47 to
4f6d8ec
Compare
|
I like the newly flattened structure (less nested) to invoke this new feature as well 👍 |
|
Hi @katbyte @stephybun, when you get time would you be able to take a look at this PR. Thanks in advance! |
714e6b6 to
f65af79
Compare
|
@katbyte would appreciate another look at this PR when convenient. Thanks in advance! |
f65af79 to
d472fb0
Compare
d472fb0 to
8f5233a
Compare
|
@katbyte - Anything left before this can be approved? |
There was a problem hiding this comment.
@arpith-f5, thanks for pushing those changes, if the tests pass TLGTM! 🚀
|
Looks like we still have test failures, if you can get that fixed up we can give this another go... 🙂 ------- Stdout: -------
=== RUN TestAccNginxDeploymentDataSource_nginxappprotect
=== PAUSE TestAccNginxDeploymentDataSource_nginxappprotect
=== CONT TestAccNginxDeploymentDataSource_nginxappprotect
testcase.go:173: Step 1/1 error: Check failed: Check 1/1 error: data.azurerm_nginx_deployment.test: Attribute 'web_application_firewall.0.activation_state' not found
--- FAIL: TestAccNginxDeploymentDataSource_nginxappprotect (426.85s)
FAIL |
|
@WodansSon Thank you for the review. I missed to fix the test after my last change. I have fixed it now and it passed locally. Could you review again |
|
@WodansSon Are there any other changes which are needed before approving this MR? |
|
@WodansSon just a gentle reminder for a re-review when you get a chance. Thanks in advance! |
|
@arpith-f5, I have kicked off a test run... there were some minor issues I noticed while looking over the PR, but nothing that would prevent it from being merged. If the tests pass I believe this PR is good to go! 🚀 |
WodansSon
left a comment
There was a problem hiding this comment.
@arpith-f5, thanks for pushing the changes. This LGTM now! 🚀
* NGINXaaS App Protect NGINXaaS now supports NGINX App Protect WAF. This commit includes changes to enable/disable WAF while creation or updating an NGINXaaS deployment. * fix comments * update docs * fix test * fix comments * nest status within web_application_firewall * Fix test
* changelog for 4.28 release * Update CHANGELOG.md #29410 * Update CHANGELOG.md #29397 * Update CHANGELOG.md #27454 * Update CHANGELOG.md #28919 * Update CHANGELOG.md #29443 * Update CHANGELOG.md #29443 * Update CHANGELOG.md #29456 * Update CHANGELOG.md for #29424 * Update CHANGELOG.md for #29150 * Update CHANGELOG.md #29435 * Update CHANGELOG.md #29431 * Update CHANGELOG.md #29396 * Update CHANGELOG.md #29197 * Update CHANGELOG.md for #28705 * Update CHANGELOG.md #28954 * Update CHANGELOG.md for #29363 * prep for release --------- Co-authored-by: catriona-m <86247157+catriona-m@users.noreply.github.com> Co-authored-by: Wodans Son <20408400+WodansSon@users.noreply.github.com> Co-authored-by: sreallymatt <106555974+sreallymatt@users.noreply.github.com> Co-authored-by: Matthew Frahry <mbfrahry@gmail.com> Co-authored-by: jackofallops <ste@hashicorp.com>
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |

Community Note
Description
NGINXaaS now supports NGINX App Protect WAF. In order to use WAF, customers need to explicitly enable it while creating/update their NGINXaaS deployment. This commit includes changes to support a new block
nginx_app_protectinazurerm_nginx_deploymentresource to enable/disable WAF while creation or updating an NGINXaaS deployment.PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Manually tested create and update of a NGINXaaS deployment with WAF enabled/disabled
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_nginx_deployment- support NGINX App Protect WAFThis is a (please select all that apply):
Related Issue(s)
Note
If this PR changes meaningfully during the course of review please update the title and description as required.