From 16bbef669f829a70b419e588aa1135135c207728 Mon Sep 17 00:00:00 2001 From: hundredacres Date: Fri, 22 Nov 2024 00:44:41 -0800 Subject: [PATCH] fix: Fixing WAF test (#3823) ## Description Fixing WAF test Fixes #3812 Fixes #3824 Closes #3812 Closes #3824 ## Pipeline Reference | Pipeline | | -------- | | [![avm.res.cache.redis](https://github.com/hundredacres/bicep-registry-modules/actions/workflows/avm.res.cache.redis.yml/badge.svg?branch=fix%2Fissues%2F3812)](https://github.com/hundredacres/bicep-registry-modules/actions/workflows/avm.res.cache.redis.yml) | ## Type of Change - [ ] Update to CI Environment or utilities (Non-module affecting changes) - [x] Azure Verified Module updates: - [x] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [x] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [ ] Update to documentation ## Checklist - [x] I'm sure there are no other open Pull Requests for the same update/change - [x] I have run `Set-AVMModule` locally to generate the supporting module files. - [x] My corresponding pipelines / checks run clean and green without any errors or warnings --------- Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com> --- avm/res/cache/redis/README.md | 5 ----- avm/res/cache/redis/linked-servers/main.json | 6 +++--- avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep | 1 - 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/avm/res/cache/redis/README.md b/avm/res/cache/redis/README.md index d7c8c9c246..fbe23b06e1 100644 --- a/avm/res/cache/redis/README.md +++ b/avm/res/cache/redis/README.md @@ -794,7 +794,6 @@ module redis 'br/public:avm/res/cache/redis:' = { workspaceResourceId: '' } ] - enableNonSslPort: true location: '' lock: { kind: 'CanNotDelete' @@ -876,9 +875,6 @@ module redis 'br/public:avm/res/cache/redis:' = { } ] }, - "enableNonSslPort": { - "value": true - }, "location": { "value": "" }, @@ -978,7 +974,6 @@ param diagnosticSettings = [ workspaceResourceId: '' } ] -param enableNonSslPort = true param location = '' param lock = { kind: 'CanNotDelete' diff --git a/avm/res/cache/redis/linked-servers/main.json b/avm/res/cache/redis/linked-servers/main.json index 1352156fef..9c9e108d55 100644 --- a/avm/res/cache/redis/linked-servers/main.json +++ b/avm/res/cache/redis/linked-servers/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.29.47.4906", - "templateHash": "6993324639761594928" + "version": "0.31.92.45157", + "templateHash": "4764248912015671674" }, "name": "Redis Cache Linked Servers", "description": "This module connects a primary and secondary Redis Cache together for geo-replication.", @@ -98,4 +98,4 @@ "value": "[resourceGroup().name]" } } -} +} \ No newline at end of file diff --git a/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep b/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep index d9fa9d90a5..3cdc69ffdb 100644 --- a/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/cache/redis/tests/e2e/waf-aligned/main.test.bicep @@ -81,7 +81,6 @@ module testDeployment '../../../main.bicep' = [ workspaceResourceId: diagnosticDependencies.outputs.logAnalyticsWorkspaceResourceId } ] - enableNonSslPort: true lock: { kind: 'CanNotDelete' name: 'myCustomLockName'