Skip to content

Commit 6c3f497

Browse files
Merge pull request #630 from microsoft/psl-kmMigrationIssue
fix: nonWAF to WAF migration fix - Added location param to name to differentiate script name
2 parents ea325ce + 5e27e70 commit 6c3f497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

infra/main.bicep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ module uploadFiles 'br/public:avm/res/resources/deployment-script:0.5.1' = {
13191319
name: take('avm.res.resources.deployment-script.uploadFiles', 64)
13201320
params: {
13211321
kind: 'AzureCLI'
1322-
name: 'copy_demo_Data'
1322+
name: 'copy_demo_Data-${enablePrivateNetworking ? location : secondaryLocation}'
13231323
azCliVersion: '2.52.0'
13241324
cleanupPreference: 'Always'
13251325
location: enablePrivateNetworking ? location : secondaryLocation
@@ -1348,7 +1348,7 @@ module createIndex 'br/public:avm/res/resources/deployment-script:0.5.1' = {
13481348
params: {
13491349
// Required parameters
13501350
kind: 'AzureCLI'
1351-
name: 'create_search_indexes'
1351+
name: 'create_search_indexes-${enablePrivateNetworking ? location : secondaryLocation}'
13521352
// Non-required parameters
13531353
azCliVersion: '2.52.0'
13541354
location: enablePrivateNetworking ? location : secondaryLocation
@@ -1382,7 +1382,7 @@ module createSqlUserAndRole 'br/public:avm/res/resources/deployment-script:0.5.1
13821382
params: {
13831383
// Required parameters
13841384
kind: 'AzurePowerShell'
1385-
name: 'create_sql_user_and_role'
1385+
name: 'create_sql_user_and_role-${enablePrivateNetworking ? location : secondaryLocation}'
13861386
// Non-required parameters
13871387
azPowerShellVersion: '11.0'
13881388
location: enablePrivateNetworking ? location : secondaryLocation

0 commit comments

Comments
 (0)