Skip to content

Commit 3f68fb9

Browse files
committed
Remove redundant zones code
1 parent c10483a commit 3f68fb9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/ALZ/Private/Deploy-Accelerator-Helpers/Get-BootstrapAndStarterConfig.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,12 @@ function Get-BootstrapAndStarterConfig {
2222
$starterConfigFilePath = ""
2323

2424
$bootstrapDetails = $null
25-
$zonesSupport = $null
2625

2726
# Get the bootstrap configuration
2827
$bootstrapConfigFullPath = Join-Path $bootstrapPath $bootstrapConfigPath
2928
Write-Verbose "Bootstrap config path $bootstrapConfigFullPath"
3029
$bootstrapConfig = Get-ALZConfig -configFilePath $bootstrapConfigFullPath
3130

32-
# Get the supported regions and availability zones
33-
Write-Verbose "Getting Supported Regions and Availability Zones with Terraform"
34-
$regionsAndZones = Get-AzureRegionData -toolsPath $toolsPath
35-
Write-Verbose "Supported Regions: $($regionsAndZones.supportedRegions)"
36-
$zonesSupport = $regionsAndZones.zonesSupport
37-
3831
# Get the available bootstrap modules
3932
$bootstrapModules = $bootstrapConfig.bootstrap_modules.Value
4033

@@ -72,7 +65,6 @@ function Get-BootstrapAndStarterConfig {
7265
starterModuleSourceFolder = $starterModuleSourceFolder
7366
starterReleaseArtifactName = $starterReleaseArtifactName
7467
starterConfigFilePath = $starterConfigFilePath
75-
zonesSupport = $zonesSupport
7668
}
7769
}
7870
}

0 commit comments

Comments
 (0)